llvm-project/llvm/test
Jessica Paquette 37910fd0e1 [AArch64][GlobalISel] Fold G_SHL into TB(N)Z bit calculation
This implements the following optimization:

```
(tbz (shl x, c), b) -> (tbz x, b-c)
```

Which appears in `getTestBitOperand` in AArch64ISelLowering.cpp.

If we test bit `b` of `shl x, c`, we can fold away the `shl` by looking `c` bits
to the right of `b` in `x` when this fits in the type. So, we can just test the
`b-c`th bit.

Differential Revision: https://reviews.llvm.org/D73924
2020-02-03 14:27:08 -08:00
..
Analysis AMDGPU: Analyze divergence of inline asm 2020-02-03 12:42:16 -08:00
Assembler Add a test extracted from D69557 "AsmParser: Allow FMF on varargs call" 2020-01-29 16:46:45 +00:00
Bindings Move the sysroot attribute from DIModule to DICompileUnit 2020-01-17 12:55:40 -08:00
Bitcode [SVE] Pass Scalable argument to VectorType::get in Bitcode Reader 2020-01-22 12:29:25 -08:00
BugPoint
CodeGen [AArch64][GlobalISel] Fold G_SHL into TB(N)Z bit calculation 2020-02-03 14:27:08 -08:00
DebugInfo [CodeGenPrepare] Make TargetPassConfig required 2020-02-02 09:28:45 -08:00
Demangle
Examples
ExecutionEngine [ORC] Add support for emulated TLS to ORCv2. 2020-01-21 19:55:33 -08:00
Feature Activate extension loading test on Darwin now that the underlying fix has landed 2020-01-30 14:04:27 +01:00
FileCheck FileCheck [9/12]: Add support for matching formats 2020-01-24 14:15:28 +00:00
Instrumentation [Instrumentation] Set hidden visibility for the bias variable 2020-01-28 12:07:03 -08:00
Integer
JitListener
LTO [LTO] Add optimization remarks for removed functions 2020-01-29 15:53:51 -08:00
Linker
MC [RISCV] Implement jump pseudo-instruction 2020-01-31 22:28:26 +00:00
MachineVerifier Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
Object [llvm-readobj][test] - Cleanup testing of the --sections command line option. 2020-01-31 12:58:12 +03:00
ObjectYAML [DWARF] Return Error from DWARFDebugArangeSet::extract(). 2020-01-23 12:41:05 +07:00
Other [test] More tests to target specific directories after CodeGenPrepare requires TargetPassConfig (D73754) 2020-02-02 10:43:02 -08:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen TableGen/GlobalISel: Handle non-leaf EXTRACT_SUBREG 2020-01-24 12:15:10 -08:00
ThinLTO/X86 [ThinLTO] Disable "Always import constants" due to compile time issues 2020-01-30 10:12:48 -08:00
Transforms [InstCombine] add tests for casted phi; NFC 2020-02-03 11:54:47 -05:00
Unit
Verifier Implement -fsemantic-interposition 2020-01-31 14:02:33 +01:00
YAMLParser
tools Omit "Contents of" headers when -no-leading-headers is specified. 2020-02-03 13:33:50 -08:00
.clang-format
CMakeLists.txt [ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc 2020-01-20 09:19:10 -05:00
TestRunner.sh
lit.cfg.py [test] On Mac, don't try to use result of sysctl command if calling it failed. 2020-01-20 10:04:06 +00:00
lit.site.cfg.py.in