1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib
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 [SCEV] Fix wrong Equal predicate created in getAddRecForPhiWithCasts 2017-12-10 11:13:35 +00:00
AsmParser Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
BinaryFormat
Bitcode Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
CodeGen [GlobalISel] Disable GISel for big endian. 2017-12-11 16:58:29 +00:00
DebugInfo [dwarfdump] Fix off-by-one bug in accelerator table extractor. 2017-12-11 18:22:47 +00:00
Demangle
ExecutionEngine Fix 'not all control paths return a value' warning on MSVC builds 2017-11-09 14:56:17 +00:00
Fuzzer
FuzzMutate [FuzzMutate] Correctly insert sinks and sources around invoke instructions 2017-12-08 08:53:16 +00:00
IR Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
IRReader
LineEditor
Linker
LTO Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
MC Revert and accidentally committed revert commit 2017-12-09 08:01:28 +00:00
Object Reverting r320166 to fix test failures. 2017-12-08 19:09:26 +00:00
ObjectYAML Update obj2yaml and yaml2obj for .debug$H section. 2017-12-06 18:58:48 +00:00
Option
Passes Add a new pass to speculate around PHI nodes with constant (integer) operands when profitable. 2017-11-28 11:32:31 +00:00
ProfileData [Coverage] Scan ahead for the most-recent completed count (PR35495) 2017-12-07 00:01:15 +00:00
Support [AArch64] Add Exynos to host detection 2017-12-08 21:09:59 +00:00
TableGen [TableGen] Give the option of tolerating duplicate register names 2017-12-07 09:51:55 +00:00
Target [Hexagon] Add support for Hexagon V65 2017-12-11 18:57:54 +00:00
Testing Force #define GTEST_LANG_CXX11. 2017-10-27 21:12:28 +00:00
ToolDrivers [COFF] Improve the check for functions that should get an extra underscore 2017-10-23 09:08:13 +00:00
Transforms [InstCombine] Fix PR35618: Instcombine hangs on single minmax load bitcast. 2017-12-11 19:11:16 +00:00
WindowsManifest
XRay [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
CMakeLists.txt
LLVMBuild.txt