Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
76df7392
Commit
76df7392
authored
Jan 06, 2021
by
Chao Liu
Browse files
update script
parent
50a6b8d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/hipclang_opt.sh
script/hipclang_opt.sh
+3
-3
No files found.
script/hipclang_opt.sh
View file @
76df7392
...
...
@@ -4,12 +4,12 @@ BC_FILE=$1
/opt/rocm/llvm/bin/llvm-dis
$BC_FILE
-o
original.ll
/opt/rocm/llvm/bin/opt
-S
-inline
-inline-threshold
=
104857 original.ll
>
inline.ll
/opt/rocm/llvm/bin/opt
-S
-sroa
inline.ll
>
s
o
ra.ll
/opt/rocm/llvm/bin/opt
-S
-O3
s
o
ra.ll
>
o3.ll
/opt/rocm/llvm/bin/opt
-S
-sroa
inline.ll
>
sr
o
a.ll
/opt/rocm/llvm/bin/opt
-S
-O3
sr
o
a.ll
>
o3.ll
/opt/rocm/llvm/bin/llc
-mcpu
=
gfx906 original.ll
/opt/rocm/llvm/bin/llc
-mcpu
=
gfx906 inline.ll
/opt/rocm/llvm/bin/llc
-mcpu
=
gfx906 s
o
ra.ll
/opt/rocm/llvm/bin/llc
-mcpu
=
gfx906 sr
o
a.ll
/opt/rocm/llvm/bin/llc
-mcpu
=
gfx906 o3.ll
#/opt/rocm/llvm/bin/opt -S -O3 -sroa inline.ll > o3.ll
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment