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