projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
ret0.ll
diff --git
a/test/CodeGen/Generic/ret0.ll
b/test/CodeGen/Generic/ret0.ll
index fc7086309f10f820134437715adc486194fb7087..9e628a1a1409e2e0e4fcc232831145c024f02d9b 100644
(file)
--- a/
test/CodeGen/Generic/ret0.ll
+++ b/
test/CodeGen/Generic/ret0.ll
@@
-1,3
+1,5
@@
-int %main() {
- ret int 0
+; RUN: llc < %s
+
+define i32 @main() {
+ ret i32 0
}