1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test
Alexey Bataev 6a7951ffcb [InstCombine] Fix PR35618: Instcombine hangs on single minmax load bitcast.
Summary:
If we have pattern `store (load(bitcast(select (cmp(V1, V2), &V1,
&V2)))), bitcast)`, but the load is used in other instructions, it leads
to looping in InstCombiner. Patch adds additional check that all users
of the load instructions are stores and then replaces all uses of load
instruction by the new one with new type.

Reviewers: RKSimon, spatel, majnemer

Subscribers: llvm-commits

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

llvm-svn: 320407
2017-12-11 19:11:16 +00:00
..
Analysis Revert part of "Cleanup some GraphTraits iteration code" 2017-12-08 22:42:43 +00:00
Assembler [ConstantFold] Support vector index when factoring out GEP index into preceding dimensions 2017-12-04 19:56:33 +00:00
Bindings
Bitcode Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
BugPoint
CodeGen [Hexagon] Add support for Hexagon V65 2017-12-11 18:57:54 +00:00
DebugInfo [dwarfdump] Fix off-by-one bug in accelerator table extractor. 2017-12-11 18:22:47 +00:00
Examples
ExecutionEngine [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
Feature
FileCheck
Instrumentation Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
Integer
JitListener
Linker
LTO
MC [Hexagon] Add support for Hexagon V65 2017-12-11 18:57:54 +00:00
Object Add flag to ArchiveWriter to test GNU64 format more efficiently 2017-12-01 00:54:28 +00:00
ObjectYAML Update obj2yaml and yaml2obj for .debug$H section. 2017-12-06 18:58:48 +00:00
Other IR printing improvement for loop passes - handle -print-module-scope 2017-12-01 18:33:58 +00:00
SafepointIRVerifier [SafepointIRVerifier] Allow deriving pointers from unrelocated base 2017-12-05 21:39:37 +00:00
SymbolRewriter
TableGen [TableGen] Give the option of tolerating duplicate register names 2017-12-07 09:51:55 +00:00
ThinLTO/X86
tools dwarfdump: Add support for the --diff option. 2017-12-08 23:32:47 +00:00
Transforms [InstCombine] Fix PR35618: Instcombine hangs on single minmax load bitcast. 2017-12-11 19:11:16 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh