1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen/ARM/CGP
Huihui Zhang 8b112ee806 [ARM] Comply with rules on ARMv8-A thumb mode partial deprecation of IT.
Summary:
When identifing instructions that can be folded into a MOVCC instruction,
checking for a predicate operand is not enough, also need to check for
thumb2 function, with restrict-IT, is the machine instruction eligible for
ARMv8 IT or not.

Notes in ARMv8-A Architecture Reference Manual, section "Partial deprecation of IT"
  https://usermanual.wiki/Pdf/ARM20Architecture20Reference20ManualARMv8.1667877052.pdf

"ARMv8-A deprecates some uses of the T32 IT instruction. All uses of IT that apply to
instructions other than a single subsequent 16-bit instruction from a restricted set
are deprecated, as are explicit references to the PC within that single 16-bit
instruction. This permits the non-deprecated forms of IT and subsequent instructions
to be treated as a single 32-bit conditional instruction."

Reviewers: efriedma, lebedev.ri, t.p.northover, jmolloy, aemerson, compnerd, stoklund, ostannard

Reviewed By: ostannard

Subscribers: ostannard, javed.absar, kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63474

llvm-svn: 363739
2019-06-18 20:55:09 +00:00
..
arm-cgp-calls.ll [ARM CGP] Fix ConvertTruncs 2019-02-15 09:04:39 +00:00
arm-cgp-casts.ll [ARM][CGP] Guard against signext args and sitofp 2019-05-09 11:56:16 +00:00
arm-cgp-icmps.ll [ARM] Comply with rules on ARMv8-A thumb mode partial deprecation of IT. 2019-06-18 20:55:09 +00:00
arm-cgp-overflow.ll [ARM][CGP] Skip nuw in PrepareConstants 2019-05-21 07:56:47 +00:00
arm-cgp-phis-ret.ll [ARM][NFC] codegen tests cleanup: remove dangling check prefixes 2018-11-23 10:08:39 +00:00
arm-cgp-pointers.ll
arm-cgp-signed-icmps.ll [ARM] Comply with rules on ARMv8-A thumb mode partial deprecation of IT. 2019-06-18 20:55:09 +00:00
arm-cgp-signed.ll [ARM][CGP] Guard against signext args and sitofp 2019-05-09 11:56:16 +00:00
arm-cgp-switch.ll [ARM] Remove trunc sinks in ARM CGP 2018-11-19 11:34:40 +00:00
clear-structures.ll [ARM][CGP] Clear SafeWrap before each search 2019-05-23 07:46:39 +00:00