blob: cea9f6bc95f5863694d5801cfdb0da56dc80ef8c [file] [log] [blame]
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00001; Make sure this testcase codegens to the ornot instruction
Tanya Lattner53a66d12008-02-19 01:41:04 +00002; RUN: llvm-as < %s | llc -march=alpha | grep eqv
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00003
Tanya Lattner53a66d12008-02-19 01:41:04 +00004define i64 @bar(i64 %x) {
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00005entry:
Tanya Lattner53a66d12008-02-19 01:41:04 +00006 %tmp.1 = xor i64 %x, -1 ; <i64> [#uses=1]
7 ret i64 %tmp.1
Andrew Lenharthb8a5d632005-04-08 16:46:44 +00008}