projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add space to assert message.
[oota-llvm.git]
/
test
/
Transforms
/
Reassociate
/
optional-flags.ll
diff --git
a/test/Transforms/Reassociate/optional-flags.ll
b/test/Transforms/Reassociate/optional-flags.ll
index 5ecc7675f8e3cc0e04396a1aa8a451793acb5771..40f7d5bf5b800f0ad361536c894d168b6d833cbd 100644
(file)
--- a/
test/Transforms/Reassociate/optional-flags.ll
+++ b/
test/Transforms/Reassociate/optional-flags.ll
@@
-20,3
+20,10
@@
define i64 @test1(i64 %a, i64 %b, i64 %c) {
%z = add nsw i64 %y, %a
ret i64 %z
}
+
+; PR9215
+; CHECK: %s = add nsw i32 %y, %x
+define i32 @test2(i32 %x, i32 %y) {
+ %s = add nsw i32 %x, %y
+ ret i32 %s
+}