llvm-project/llvm/test
Amy Kwan 150681f2f3 [PowerPC] Prevent the optimizer from producing wide vector types in IR.
This patch prevents the optimizer from producing wide vectors in the IR,
specifically the MMA types (v256i1, v512i1). The idea is that on Power, we only
want to be producing these types only if the vector_pair and vector_quad types
are used specifically.

To prevent the optimizer from producing these types in the IR,
vectorCostAdjustmentFactor() is updated to return an instruction cost factor or
an invalid instruction cost if the current type is that of an MMA type. An
invalid instruction cost returned by this function signifies to other cost
computing functions to return the maximum instruction cost to inform the
optimizer that producing these types within the IR is expensive, and should not
be produced in the first place.

This issue was first seen in the test case included within this patch.

Differential Revision: https://reviews.llvm.org/D113900
2021-11-25 12:35:26 -06:00
..
Analysis [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
Assembler Revert "[DebugInfo] Enforce implicit constraints on `distinct` MDNodes" 2021-11-09 14:27:55 -08:00
Bindings [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
Bitcode [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
BugPoint
CodeGen [ARM] Convert fptoi.sat to fixed point multiply 2021-11-25 15:43:45 +00:00
DebugInfo [NFC][llvm] Inclusive language: replace master with main in dbg-call-site-spilled-arg.mir 2021-11-25 12:34:39 -06:00
Demangle [Demangle] Add minimal support for D programming language 2021-11-09 09:29:13 -08:00
Examples
ExecutionEngine [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
Feature [Feature][NFC]Improve test checks to avoid possible false postitive test 2021-11-12 06:28:44 -08:00
FileCheck
Instrumentation [InstrProf] Use i32 for GEP index from lowering llvm.instrprof.increment 2021-11-19 15:45:14 -08: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 [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
MachineVerifier
Object [Verifier] Add verification logic for GlobalIFuncs 2021-10-31 20:00:57 -07:00
ObjectYAML
Other [NewPM] Add option to prevent rerunning function pipeline on functions in CGSCC adaptor 2021-11-17 09:06:46 -08:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [llvm-tblgen][RISCV] Make llvm-tblgen RISCVCompressInstEmitter to be common infra across different targets 2021-11-18 11:14:27 +08:00
ThinLTO/X86 [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
Transforms [PowerPC] Prevent the optimizer from producing wide vector types in IR. 2021-11-25 12:35:26 -06:00
Unit
Verifier
YAMLParser
tools [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05: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