llvm-project/llvm/test
Simon Pilgrim 58c01ef270 [SelectionDAG] Merge FoldConstantVectorArithmetic into FoldConstantArithmetic (PR36544)
This patch merges FoldConstantVectorArithmetic back into FoldConstantArithmetic.

Like FoldConstantVectorArithmetic we now handle vector ops with any operand count, but we currently still only handle binops for scalar types - this can be improved in future patches - in particular some common unary/trinary ops still have poor constant folding.

There's one change in functionality causing test changes - FoldConstantVectorArithmetic bails early if the build/splat vector isn't all constant (with some undefs) elements, but FoldConstantArithmetic doesn't - it instead attempts to fold the scalar nodes and bails if they fail to regenerate a constant/undef result, allowing some additional identity/undef patterns to be handled.

Differential Revision: https://reviews.llvm.org/D113300
2021-11-09 11:31:01 +00:00
..
Analysis [NFC][X86][Costmodel] Add i16 replication shuffle costmodel test coverage 2021-11-09 14:19:44 +03:00
Assembler [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
Bindings [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
Bitcode Reland "[Attr] support btf_type_tag attribute" 2021-11-05 11:25:17 -07:00
BugPoint
CodeGen [SelectionDAG] Merge FoldConstantVectorArithmetic into FoldConstantArithmetic (PR36544) 2021-11-09 11:31:01 +00:00
DebugInfo [CodeGen] Fix assertion failure in TwoAddressInstructionPass::rescheduleMIBelowKill 2021-11-09 09:24:21 +00:00
Demangle [lldb] change name demangling to be consistent between windows and linx 2021-10-19 12:04:37 +02:00
Examples [Orc][examples] Re-enable test for LLJITWithRemoteDebugging 2021-10-23 17:01:13 +02:00
ExecutionEngine [NFC] Disabled few tests with MemoryWithOrigins 2021-11-04 18:18:03 -07:00
Feature
FileCheck
Instrumentation [ASan] Added stack safety support in address sanitizer. 2021-11-04 17:22:31 -07:00
Integer
JitListener
LTO [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
Linker [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
MC [WebAssembly] fix __stack_pointer being added to .debug_aranges 2021-11-08 16:30:31 -08:00
MachineVerifier
Object [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
ObjectYAML
Other [InferAddressSpaces] Support assumed addrspaces from addrspace predicates. 2021-11-08 16:51:57 -05:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Emit a warning for unused template args 2021-11-03 11:55:07 +00:00
ThinLTO/X86 [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
Transforms Reapply db28934 "[IndVars] Pass TTI to replaceCongruentIVs" 2021-11-09 17:42:29 +07:00
Unit
Verifier [DebugInfo] Skip ODRUniquing for mismatched tags 2021-10-26 15:28:25 -07:00
YAMLParser
tools [llvm-dwarfdump] dump link to the immediate parent. 2021-11-09 14:14:06 +03:00
.clang-format
CMakeLists.txt Fix test dependencies to add llvm-tli-checker 2021-11-08 17:22:24 -08:00
TestRunner.sh
lit.cfg.py [NFC] Disabled few tests with MemoryWithOrigins 2021-11-04 18:18:03 -07:00
lit.site.cfg.py.in [mlgo][aot] requrie the model is autogenerated for test determinism 2021-10-13 14:02:41 -07:00