linux-packaging-mono/external/llvm/test/CodeGen/Hexagon/duplex-addi-global-imm.mir
Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

23 lines
316 B
YAML

# RUN: llc -march=hexagon -start-after if-converter %s -o - | FileCheck %s
# This used to crash.
# CHECK: add(r0,##g)
--- |
@g = global i32 0
define void @fred() {
ret void
}
...
---
name: fred
tracksRegLiveness: true
body: |
bb.0:
liveins: %r0
%r0 = A2_addi %r0, @g
%r1 = A2_tfrsi 0
...