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
/
2007-01-16-CrashOnBadCast.ll
blob
aa741443d83126ceb5a0ec7d691aae7b5b492bb8
1
; PR1117
2
; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from"
3
4
define i8* @nada(i64 %X) {
5
%result = trunc i64 %X to i8*
6
ret i8* %result
7
}