[llvm] r296120 - Minor test fix
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 24 05:27:55 PST 2017
Author: rovka
Date: Fri Feb 24 07:27:55 2017
New Revision: 296120
URL: http://llvm.org/viewvc/llvm-project?rev=296120&view=rev
Log:
Minor test fix
The test was using a size of 8 for loading/storing pointers. It should be 4.
Modified:
llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir
Modified: llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir?rev=296120&r1=296119&r2=296120&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir (original)
+++ llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir Fri Feb 24 07:27:55 2017
@@ -151,7 +151,7 @@ body: |
%2(s16) = G_LOAD %0 :: (load 2)
%3(s8) = G_LOAD %0 :: (load 1)
%4(s1) = G_LOAD %0 :: (load 1)
- %5(p0) = G_LOAD %0 :: (load 8)
+ %5(p0) = G_LOAD %0 :: (load 4)
BX_RET 14, _, implicit %r0
...
@@ -191,7 +191,7 @@ body: |
%4(s1) = COPY %r4
G_STORE %4(s1), %0 :: (store 1)
%5(p0) = COPY %r5
- G_STORE %5(p0), %0 :: (store 8)
+ G_STORE %5(p0), %0 :: (store 4)
%6(s64) = COPY %d6
G_STORE %6(s64), %0 :: (store 8)
BX_RET 14, _, implicit %r0
More information about the llvm-commits
mailing list