aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2014-07-09 16:34:54 +0000
committerSanjay Patel <spatel@rotateright.com>2014-07-09 16:34:54 +0000
commit58814445d4a43d9ab8a2adba5309d6affd378101 (patch)
treeec454fefef2405c02bd6e3fb6470c8f7e4b1a8e6 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentdf734cdd39cd3ad90f4f4466ddb497ffc14c1258 (diff)
downloadllvm-58814445d4a43d9ab8a2adba5309d6affd378101.zip
llvm-58814445d4a43d9ab8a2adba5309d6affd378101.tar.gz
llvm-58814445d4a43d9ab8a2adba5309d6affd378101.tar.bz2
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 llvm-svn: 212629
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions