repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
invalid-gep-mismatched-explicit-type.ll
blob
c9de924384b15b3a69adbfbb94c5348a5e68a5bd
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
; CHECK: <stdin>:4:22: error: explicit pointee type doesn't match operand's pointee type (i16 vs i32)
3
define void @test(i32* %t) {
4
%x = getelementptr i16, i32* %t, i32 0
5
ret void
6
}