llvm-6502/lib
Sanjay Patel 821bba7fda avoid infinite looping when folding vector multiplies of constants (PR22698)
We were missing a check for the following fold in DAGCombiner:

// fold (fmul (fmul x, c1), c2) -> (fmul x, (fmul c1, c2))

If 'x' is also a constant, then we shouldn't do anything. Otherwise, we could end up swapping the operands back and forth forever.

This should fix:
http://llvm.org/bugs/show_bug.cgi?id=22698

Differential Revision: http://reviews.llvm.org/D7917



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230884 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-01 00:09:35 +00:00
..
Analysis Reduce double set lookups. 2015-02-27 21:43:14 +00:00
AsmParser Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
Bitcode Silence three more variable set but not used warnings, NFC. 2015-02-28 15:29:17 +00:00
CodeGen avoid infinite looping when folding vector multiplies of constants (PR22698) 2015-03-01 00:09:35 +00:00
DebugInfo [llvm-pdbdump] Better error handling. 2015-02-28 20:23:18 +00:00
ExecutionEngine Revert "Raising minimum required CMake version to 2.8.12.2." 2015-02-24 16:39:46 +00:00
Fuzzer [fuzzer] one more experimental search mode: -use_coverage_pairs=1 2015-02-20 03:02:37 +00:00
IR DebugInfo: Use TempMDNode in DIDescriptor::replaceAllUsesWith() 2015-02-28 23:48:02 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker [LTO API] add lto_codegen_set_module to set the destination module. 2015-02-24 00:45:56 +00:00
LTO [LTO API] fix memory leakage introduced at r230290. 2015-02-25 21:20:53 +00:00
MC Centralize handling of the eh_begin and eh_end labels. 2015-02-27 18:18:39 +00:00
Object Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
Option Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
ProfileData InstrProf: Simplify the construction of BinaryCoverageReader 2015-02-26 20:06:28 +00:00
Support [raw_ostream] When printing color on Windows, use correct bg color. 2015-02-28 19:08:27 +00:00
TableGen MSVC 2013 does not ICE on this code in the same fashion that MSVC 2012 did; NFC. 2015-02-16 19:33:36 +00:00
Target [X86] Remove the blendpd/blendps/pblendw/pblendd intrinsics. They can represented by shuffle_vector instructions. 2015-02-28 19:33:17 +00:00
Transforms TRE: Just erase dead BBs and tweak the iteration loop not to increment the deleted BB iterator. 2015-02-28 16:47:27 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile