aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/XCore/2011-01-31-DAGCombineBug.ll
blob: f8fe0d2136fff7bce6c013b29369f2fb6e59d090 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -march=xcore
%struct.st = type <{ i8, i32, i8, i32, i8, i32 }>

@x = external global %struct.st, align 4

define i32 @test_entry() nounwind {
entry:
  %0 = load i32* getelementptr inbounds (%struct.st* @x, i32 0, i32 3), align 2
  ret i32 %0
}