llvm-for-llvmta/test/CodeGen/MIR/X86/large-immediate-operand-err...

19 lines
346 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
--- |
define i32 @foo() {
entry:
ret i32 42
}
...
---
name: foo
body: |
bb.0.entry:
; CHECK: [[@LINE+1]]:20: integer literal is too large to be an immediate operand
$eax = MOV32ri 12346127502983478823754212949184914
RETQ $eax
...