[PATCH] D50623: [NFC] [Hexagon] Simplify int8 truncation and validation
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 13 06:02:20 PDT 2018
kparzysz added a comment.
Try this:
name: fred
tracksRegLiveness: true
body: |
bb.0:
liveins: $r0
%0:intregs = COPY $r0
%1:intregs = A2_tfrsi 4351 ; 0x000010FF
S2_storerb_io %0, 0, %1
...
`llc -march=hexagon -run-pass hexagon-bit-simplify -o - bit-store-imm.mir`
The output should be
%0:intregs = COPY $r0
S4_storeirb_io %0, 0, -1
Repository:
rL LLVM
https://reviews.llvm.org/D50623
More information about the llvm-commits
mailing list