[llvm-commits] [llvm] r160714 - /llvm/trunk/test/Transforms/InstCombine/2012-07-25-LoadPart.ll
Duncan Sands
baldrick at free.fr
Wed Jul 25 02:45:37 PDT 2012
Author: baldrick
Date: Wed Jul 25 04:45:37 2012
New Revision: 160714
URL: http://llvm.org/viewvc/llvm-project?rev=160714&view=rev
Log:
Don't perform an overaligned load in this test, since that's undefined
behaviour that might be exploited one day.
Modified:
llvm/trunk/test/Transforms/InstCombine/2012-07-25-LoadPart.ll
Modified: llvm/trunk/test/Transforms/InstCombine/2012-07-25-LoadPart.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2012-07-25-LoadPart.ll?rev=160714&r1=160713&r2=160714&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/2012-07-25-LoadPart.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/2012-07-25-LoadPart.ll Wed Jul 25 04:45:37 2012
@@ -6,7 +6,7 @@
@test = constant [4 x i32] [i32 1, i32 2, i32 3, i32 4]
define i64 @foo() {
- %ret = load i64* bitcast (i8* getelementptr (i8* bitcast ([4 x i32]* @test to i8*), i64 2) to i64*)
+ %ret = load i64* bitcast (i8* getelementptr (i8* bitcast ([4 x i32]* @test to i8*), i64 2) to i64*), align 1
ret i64 %ret
; CHECK: ret i64 844424930263040
}
More information about the llvm-commits
mailing list