diff options
Diffstat (limited to 'test/CodeGen/SystemZ/02-RetNeg.ll')
-rw-r--r-- | test/CodeGen/SystemZ/02-RetNeg.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/02-RetNeg.ll b/test/CodeGen/SystemZ/02-RetNeg.ll new file mode 100644 index 0000000..7f3380d --- /dev/null +++ b/test/CodeGen/SystemZ/02-RetNeg.ll @@ -0,0 +1,7 @@ +; RUN: llc < %s -march=systemz | grep lcgr | count 1 + +define i64 @foo(i64 %a) { +entry: + %c = sub i64 0, %a + ret i64 %c +}
\ No newline at end of file |