summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/mips64instrs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Mips/mips64instrs.ll')
-rw-r--r--llvm/test/CodeGen/Mips/mips64instrs.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/mips64instrs.ll b/llvm/test/CodeGen/Mips/mips64instrs.ll
index 16bca0fbbf7..8c02a2dcbb8 100644
--- a/llvm/test/CodeGen/Mips/mips64instrs.ll
+++ b/llvm/test/CodeGen/Mips/mips64instrs.ll
@@ -133,3 +133,11 @@ entry:
ret i64 %tmp1
}
+define i64 @f20(i64 %a, i64 %b) nounwind readnone {
+entry:
+; CHECK: nor
+ %or = or i64 %b, %a
+ %neg = xor i64 %or, -1
+ ret i64 %neg
+}
+
OpenPOWER on IntegriCloud