llvm-project/llvm/test
Philip Reames e6ad9ef4e7 [instcombine] Canonicalize constant index type to i64 for extractelement/insertelement
The basic idea to this is that a) having a single canonical type makes CSE easier, and b) many of our transforms are inconsistent about which types we end up with based on visit order.

I'm restricting this to constants as for non-constants, we'd have to decide whether the simplicity was worth extra instructions. For constants, there are no extra instructions.

We chose the canonical type as i64 arbitrarily.  We might consider changing this to something else in the future if we have cause.

Differential Revision: https://reviews.llvm.org/D115387
2021-12-13 16:56:22 -08:00
..
Analysis [CostModel][AMDGPU] Fix intrinsics costs estimations. 2021-12-13 17:17:34 +03:00
Assembler Allow DataLayout to support arbitrary pointer sizes 2021-12-07 23:20:17 -08:00
Bindings
Bitcode [IR] Remove unbounded as possible value for vscale_range minimum 2021-12-07 09:52:21 +00:00
BugPoint
CodeGen [MIPS] Allow i1 values for 'r' constraint in inline-asm 2021-12-14 01:19:34 +03:00
DebugInfo Move x86-specific test into the DebugInfo/X86 directory 2021-12-10 14:26:04 -08:00
Demangle [Demangle] Add minimal support for D programming language 2021-11-09 09:29:13 -08:00
Examples
ExecutionEngine [ORC] Pad section start to account for alignment offset in MachO GDB JIT plugin. 2021-12-07 14:28:31 +11:00
Feature [funcattrs] Fix a bug in recently introduced writeonly argument inference 2021-12-03 08:57:15 -08:00
FileCheck
Instrumentation Revert "[asan] Add support for disable_sanitizer_instrumentation attribute" 2021-12-10 14:33:38 -08:00
Integer
JitListener
LTO [LTO] Remove default_triple requirement from tests that specify the triple 2021-12-08 09:17:32 -05:00
Linker
MC [VE] Support srel32 in symbol reference 2021-12-13 20:29:17 +09:00
MachineVerifier [GlobalISel] Allow DBG_VALUE to use undefined vregs before LiveDebugValues. 2021-12-05 15:55:59 -05:00
Object
ObjectYAML [ObjectYAML/obj2yaml/yaml2obj][MachO] Support indirect symbol table 2021-11-30 16:15:33 -08:00
Other [Passes] Only run extra vector passes if loops have been vectorized. 2021-12-10 11:42:45 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen][SelectionDAG] Use ComplexPattern type for non-leaf nodes 2021-12-03 07:04:59 +00:00
ThinLTO/X86 [ThinLTO][MC] Use conditional assignments for promotion aliases 2021-12-10 12:21:37 -08:00
Transforms [instcombine] Canonicalize constant index type to i64 for extractelement/insertelement 2021-12-13 16:56:22 -08:00
Unit
Verifier Verifier: accept enums as scopes 2021-12-10 12:19:56 -08:00
YAMLParser
tools [Symbolizer][Debuginfo] Add debuginfod client to llvm-symbolizer. 2021-12-13 23:00:32 +00:00
.clang-format
CMakeLists.txt Revert "[llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests." 2021-12-10 11:08:15 +00:00
TestRunner.sh
lit.cfg.py Revert "[llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests." 2021-12-10 11:08:15 +00:00
lit.site.cfg.py.in Revert "[llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests." 2021-12-10 11:08:15 +00:00