llvm-6502/lib/Transforms
Sanjay Patel 296cb7b128 Fix for PR20059 (instcombine reorders shufflevector after instruction that may trap)
In PR20059 ( http://llvm.org/pr20059 ), instcombine eliminates shuffles that are necessary before performing an operation that can trap (srem).

This patch calls isSafeToSpeculativelyExecute() and bails out of the optimization in SimplifyVectorOp() if needed.

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212629 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-09 16:34:54 +00:00
..
Hello [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:55:47 +00:00
InstCombine Fix for PR20059 (instcombine reorders shufflevector after instruction that may trap) 2014-07-09 16:34:54 +00:00
Instrumentation [ASan/Win] Don't instrument COMDAT globals. Properly fixes PR20244. 2014-07-09 08:35:33 +00:00
IPO Revert "GlobalDCE: Delete available_externally initializers if it allows removing the value the initializer is referring to." 2014-07-08 17:06:03 +00:00
ObjCARC Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
Scalar Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
Utils Fix some Twine locals. 2014-07-08 14:55:06 +00:00
Vectorize Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile