llvm-project/llvm/test
Florian Hahn 86d113a8b8
[SCEVExpand] Do not create redundant 'or false' for pred expansion.
This patch updates SCEVExpander::expandUnionPredicate to not create
redundant 'or false, x' instructions. While those are trivially
foldable, they can be easily avoided and hinder code that checks the
size/cost of the generated checks before further folds.

I am planning on look into a few other similar improvements to code
generated by SCEVExpander.

I remember a while ago @lebedev.ri working on doing some trivial folds
like that in IRBuilder itself, but there where concerns that such
changes may subtly break existing code.

Reviewed By: reames, lebedev.ri

Differential Revision: https://reviews.llvm.org/D116696
2022-01-06 11:52:19 +00:00
..
Analysis Introduce NewPM .dot printers for DomTree 2022-01-05 23:25:40 +00:00
Assembler [ConstantFold] Make icmp of gep fold offset based 2022-01-03 09:41:37 +01:00
Bindings [llvm-c] Accept GEP operators in some APIs 2021-12-17 08:54:18 +01:00
Bitcode [IR] Allow the 'align' param attr on vectors of pointers 2022-01-03 12:32:46 +00:00
BugPoint
CodeGen [AArch64] Regenerate arith overflow test, and add a few more select tests. NFC 2022-01-06 11:02:14 +00:00
DebugInfo llvm-dwarfdump --summarize-types: skip compilation units 2022-01-05 20:36:04 -08:00
Demangle
Examples
ExecutionEngine Revert "Revert D109159 "[amdgpu] Enable selection of `s_cselect_b64`."" 2022-01-05 13:10:25 -05:00
Feature [funcattrs] Fix a bug in recently introduced writeonly argument inference 2021-12-03 08:57:15 -08:00
FileCheck
Instrumentation [Try2][InstrProf] Attach debug info to counters 2021-12-16 14:20:30 -08:00
Integer
JitListener
LTO [LTO][codegen] Add TargetLibraryInfoWrapperPass initially 2022-01-06 09:24:35 +08:00
Linker
MC [M68k][test][NFC] Add missing tests for arith inst with size byte or word 2022-01-06 16:40:40 +08:00
MachineVerifier [GlobalISel] Verify operand types for G_SHL, G_LSHR, G_ASHR 2021-12-21 11:59:33 +00:00
Object
ObjectYAML [ObjectYAML/obj2yaml/yaml2obj][MachO] Support indirect symbol table 2021-11-30 16:15:33 -08:00
Other [funcattrs] Infer writeonly argument attribute [part 2] 2022-01-04 09:07:54 -08:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen][SelectionDAG] Use ComplexPattern type for non-leaf nodes 2021-12-03 07:04:59 +00:00
ThinLTO/X86 Simplify WPD test case for hybrid LTO and thinTLO. 2021-12-21 17:23:42 +00:00
Transforms [SCEVExpand] Do not create redundant 'or false' for pred expansion. 2022-01-06 11:52:19 +00:00
Unit
Verifier Revert "Revert D109159 "[amdgpu] Enable selection of `s_cselect_b64`."" 2022-01-05 13:10:25 -05:00
YAMLParser
tools DebugInfo: Rebuild varargs function types correctly 2022-01-05 20:29:29 -08:00
.clang-format
CMakeLists.txt [NFC][CMake] Add FOLDER to utility targets 2022-01-03 12:16:30 -06:00
TestRunner.sh
lit.cfg.py [llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests. 2021-12-14 18:00:18 +00:00
lit.site.cfg.py.in [llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests. 2021-12-14 18:00:18 +00:00