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

19 lines
384 B
YAML

# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -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
...