Correct the vandc testcase
authorChris Lattner <sabre@nondot.org>
Sat, 25 Mar 2006 23:12:47 +0000 (23:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 Mar 2006 23:12:47 +0000 (23:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27137 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/eqv-andc-orc-nor.ll

index acf5212d535b77f6000521cdb7af300cd29dfd2e..d2be3c93ebadf563ab1725bc439bb96a2445f89f 100644 (file)
@@ -80,9 +80,9 @@ void %VANDC(<4 x float>* %P, <4 x float>* %Q) {
         %tmp = cast <4 x float> %tmp to <4 x int>
         %tmp2 = load <4 x float>* %Q
         %tmp2 = cast <4 x float> %tmp2 to <4 x int>
-        %tmp3 = and <4 x int> %tmp, %tmp2
-        %tmp4 = xor <4 x int> %tmp3, < int -1, int -1, int -1, int -1 >
-        %tmp4 = cast <4 x int> %tmp4 to <4 x float>
+        %tmp4 = xor <4 x int> %tmp2, < int -1, int -1, int -1, int -1 >
+        %tmp3 = and <4 x int> %tmp, %tmp4
+        %tmp4 = cast <4 x int> %tmp3 to <4 x float>
         store <4 x float> %tmp4, <4 x float>* %P
         ret void
 }