the various ConstantExpr::get*Ty methods existed to work with issues around
[llvm/stm8.git] / test / CodeGen / XCore / 2011-01-31-DAGCombineBug.ll
blobf8fe0d2136fff7bce6c013b29369f2fb6e59d090
1 ; RUN: llc < %s -march=xcore
2 %struct.st = type <{ i8, i32, i8, i32, i8, i32 }>
4 @x = external global %struct.st, align 4
6 define i32 @test_entry() nounwind {
7 entry:
8   %0 = load i32* getelementptr inbounds (%struct.st* @x, i32 0, i32 3), align 2
9   ret i32 %0