repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
MIR
/
X86
/
large-immediate-operand-error.mir
blob
a59527230f4df1e55ab877cb1cb4e6b75b144785
1
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2
3
--- |
4
5
define i32 @foo() {
6
entry:
7
ret i32 42
8
}
9
10
...
11
---
12
name: foo
13
body: |
14
bb.0.entry:
15
; CHECK: [[@LINE+1]]:20: integer literal is too large to be an immediate operand
16
$eax = MOV32ri 12346127502983478823754212949184914
17
RETQ $eax
18
...