1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Craig Topper 4c4854e1a2 [InstCombine] Add single use checks to SimplifyBSwap to ensure we are really saving instructions
Bswap isn't a simple operation so we need to make sure we are really removing a call to it before doing these simplifications.

For the case when both LHS and RHS are bswaps I've allowed it to be moved if either LHS or RHS has a single use since that at least allows us to move it later where it might find another bswap to combine with and it decreases the use count on the other side so maybe the other user can be optimized.

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

llvm-svn: 307273
2017-07-06 16:24:21 +00:00
..
Analysis Revert "Revert "Revert "[IndVars] Canonicalize comparisons between non-negative values and indvars""" 2017-07-06 10:47:13 +00:00
Assembler
Bindings
Bitcode Bitcode: Write the irsymtab to disk. 2017-06-27 23:50:11 +00:00
BugPoint
CodeGen [LSR] Narrow search space by filtering non-optimal formulae with the same ScaledReg and Scale. 2017-07-06 15:52:14 +00:00
DebugInfo [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LibDriver
Linker
LTO
MC [WebAssembly] Fix types for address taken functions 2017-07-05 20:25:08 +00:00
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tablegen] Import rules containing intrinsic_wo_chain. 2017-07-06 08:12:20 +00:00
ThinLTO/X86
tools [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
Transforms [InstCombine] Add single use checks to SimplifyBSwap to ensure we are really saving instructions 2017-07-06 16:24:21 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh