1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test
Jessica Paquette 2dcd508332 [AArch64][GlobalISel] Infer whether G_PHI is going to be a FPR in regbankselect
Some instructions (G_LOAD, G_SELECT, G_UNMERGE_VALUES) check if their uses
will define/use FPRs (using `onlyUsesFP` and `onlyDefinesFP`).

The register bank of a use isn't necessarily known when an instruction asks for
this.

Teach `hasFPConstraints` to look at the instructions feeding into a G_PHI when
its destination bank is unknown. If any of them are FPR, assume the entire
G_PHI will also be assigned a FPR.

Since a phi can have many inputs, and those inputs can in turn be phis,
restrict the search depth to a very low number.

Also improve the docs for `hasFPConstraints` and friends a little.

This is a 0.3% code size improvement on CTMark/Bullet at -O3, and a 0.2% code
size improvement at CTMark/pairlocalalign at -O3.

Differential Revision: https://reviews.llvm.org/D88177
2020-09-28 10:37:09 -07:00
..
Analysis [SCEV] Also use info from assumes in applyLoopGuards. 2020-09-28 13:14:24 +01:00
Assembler OpaquePtr: Add type to sret attribute 2020-09-25 14:07:30 -04:00
Bindings C API: functions to get mask of a ShuffleVector 2020-09-25 16:01:05 -07:00
Bitcode OpaquePtr: Add type to sret attribute 2020-09-25 14:07:30 -04:00
BugPoint
CodeGen [AArch64][GlobalISel] Infer whether G_PHI is going to be a FPR in regbankselect 2020-09-28 10:37:09 -07:00
DebugInfo Add a verifier check that rejects non-distinct DISubprogram function 2020-09-25 12:04:46 -07:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MachineVerifier
MC Revert "Reland [CodeGen] emit CG profile for COFF object file" 2020-09-27 22:43:14 -07:00
Object [Object/yaml2obj/obj2yaml][test] - Split, cleanup and move MIPS abi-flags.yaml test. NFCI. 2020-09-25 12:04:55 +03:00
ObjectYAML
Other Revert "[DSE] Switch to MemorySSA-backed DSE by default." 2020-09-26 18:35:27 +01:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86
tools [llvm-readobj/elf] - Fix the PREL31 relocation computation used for dumping arm32 unwind info (-u). 2020-09-28 16:22:56 +03:00
Transforms [InstCombine] Add basic trunc(shr(trunc(x),c)) tests 2020-09-28 18:00:28 +01:00
Unit
Verifier Add a verifier check that rejects non-distinct DISubprogram function 2020-09-25 12:04:46 -07:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh