llvm/test
Diana Picus a7372f15c9 [globalisel][tablegen] Skip src child predicates
The GlobalISel TableGen backend didn't check for predicates on the
source children. This caused it to generate code for ARM patterns such
as SMLABB or similar, but without properly checking for the sext_16_node
part of the operands. This in turn meant that we would select SMLABB
instead of MLA for simple sequences such as s32 + s32 * s32, which is
wrong (we want a MLA on the full operands, not just their bottom 16
bits).

This patch forces TableGen to skip patterns with predicates on the src
children, so it doesn't generate code for SMLABB and other similar ARM
instructions at all anymore. AArch64 and X86 are not affected.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317313 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-03 10:30:19 +00:00
..
Analysis Irreducible loop metadata for more accurate block frequency under PGO. 2017-11-02 22:26:51 +00:00
Assembler
Bindings [LLVM-C] Expose functions to create debug locations via DIBuilder. 2017-11-01 22:18:52 +00:00
Bitcode
BugPoint
CodeGen [globalisel][tablegen] Skip src child predicates 2017-11-03 10:30:19 +00:00
DebugInfo [Verifier] Remove the -verify-debug-info cl::opt 2017-11-02 23:44:20 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [asan] Upgrade private linkage globals to internal linkage on COFF 2017-10-31 16:16:08 +00:00
Integer
JitListener
Linker
LTO LTO: Apply global DCE to ThinLTO modules at LTO opt level 0. 2017-11-01 17:58:39 +00:00
MC [AsmPrinterDwarf] Add support for .cfi_restore directive 2017-11-02 12:00:58 +00:00
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tablegen] Add support for multi-insn emission 2017-11-01 19:57:57 +00:00
ThinLTO/X86 Irreducible loop metadata for more accurate block frequency under PGO. 2017-11-02 22:26:51 +00:00
tools [llvm-nm] Don't error out on multiple occurrances of the -g/--external-only flag 2017-11-03 07:18:21 +00:00
Transforms [NFC] Get rid of hard-coded value ID in test 2017-11-03 07:30:45 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Add test dependency on llvm-cfi-verify to fix up the build breakages on sanitizers. 2017-11-01 00:49:45 +00:00
lit.cfg.py Add feature to determine if host architecture is 64-bit in llvm-lit 2017-11-02 23:14:55 +00:00
lit.site.cfg.py.in Reland "Add feature to determine if host architecture is 64-bit in llvm-lit" 2017-11-02 23:45:51 +00:00
TestRunner.sh