repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
the various ConstantExpr::get*Ty methods existed to work with issues around
[llvm/stm8.git]
/
test
/
CodeGen
/
XCore
/
2011-01-31-DAGCombineBug.ll
blob
f8fe0d2136fff7bce6c013b29369f2fb6e59d090
1
; RUN: llc < %s -march=xcore
2
%struct.st = type <{ i8, i32, i8, i32, i8, i32 }>
3
4
@x = external global %struct.st, align 4
5
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
10
}