diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-03 21:23:18 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-03 21:23:18 +0000 |
| commit | c3a6357ee3904bc098edef9f7c6e7b4597d36336 (patch) | |
| tree | 577f5157a74065ce84703cc1e7688f35899b4390 /llvm/test/CodeGen/Mips/mips64instrs.ll | |
| parent | 48a72ca0cb799eea430f8ba6b137500b43755214 (diff) | |
| download | bcm5719-llvm-c3a6357ee3904bc098edef9f7c6e7b4597d36336.tar.gz bcm5719-llvm-c3a6357ee3904bc098edef9f7c6e7b4597d36336.zip | |
Add support for 64-bit logical NOR.
llvm-svn: 141029
Diffstat (limited to 'llvm/test/CodeGen/Mips/mips64instrs.ll')
| -rw-r--r-- | llvm/test/CodeGen/Mips/mips64instrs.ll | 8 |
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 +} + |

