summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-10-27 19:16:21 +0000
committerDuncan Sands <baldrick@free.fr>2011-10-27 19:16:21 +0000
commit32a43cc0fc3cd42702d7859eaa58dd42f561a54d (patch)
tree56449a56539910bed314212d85f556a4d59768c0 /docs
parent6eb1ed8c9c6a6d3f9b57900c44fc076d08a358bd (diff)
downloadllvm-32a43cc0fc3cd42702d7859eaa58dd42f561a54d.tar.gz
llvm-32a43cc0fc3cd42702d7859eaa58dd42f561a54d.tar.bz2
llvm-32a43cc0fc3cd42702d7859eaa58dd42f561a54d.tar.xz
Reapply commit 143028 with a fix: the problem was casting a ConstantExpr Mul
using BinaryOperator (which only works for instructions) when it should have been a cast to OverflowingBinaryOperator (which also works for constants). While there, correct a few other dubious looking uses of BinaryOperator. Thanks to Chad Rosier for the testcase. Original commit message: My super-optimizer noticed that we weren't folding this expression to true: (x *nsw x) sgt 0, where x = (y | 1). This occurs in 464.h264ref. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions