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
IR: de-duplicate two CmpInst routines (NFC) (#116866)
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
2007-01-16-CrashOnBadCast.ll
blob
100466c438573ae3f831cbb260c533ef96058660
1
; PR1117
2
; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from"
3
4
define ptr @nada(i64 %X) {
5
%result = trunc i64 %X to ptr
6
ret ptr %result
7
}