Make this test more robust in case LLVM ever decides to align the global
authorDan Gohman <gohman@apple.com>
Mon, 21 Jun 2010 19:56:27 +0000 (19:56 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 21 Jun 2010 19:56:27 +0000 (19:56 +0000)
variable differently.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106454 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/vec_shuffle-6.ll

index f034b0aa7102aa30a082e210b05a3ea21e111997..28fd59b29dd3630e57e9e77e1b10fc04f85ca476 100644 (file)
@@ -4,7 +4,7 @@
 ; RUN: grep movups %t | count 2
 
 target triple = "i686-apple-darwin"
-@x = global [4 x i32] [ i32 1, i32 2, i32 3, i32 4 ]           ; <[4 x i32]*> [#uses=4]
+@x = external global [4 x i32]
 
 define <2 x i64> @test1() {
        %tmp = load i32* getelementptr ([4 x i32]* @x, i32 0, i32 0)            ; <i32> [#uses=1]