[JumpThread] Do RAUW in case Cond folds to a constant in the CFG
authorXin Tong <trent.xin.tong@gmail.com>
Mon, 1 May 2017 15:34:17 +0000 (15:34 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Mon, 1 May 2017 15:34:17 +0000 (15:34 +0000)
commit21f8ac235ec3c1312f835c988a7c2b456a702806
treeff32de87b828e5fb8520d8d7158989df4aa3515a
parentd28f0cd44892a01781da466e3ad01014c1a758cf
[JumpThread] Do RAUW in case Cond folds to a constant in the CFG

Summary: [JumpThread] Do RAUW in case Cond folds to a constant in the CFG

Reviewers: sanjoy

Reviewed By: sanjoy

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D32407

llvm-svn: 301804
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/test/Transforms/JumpThreading/fold-not-thread.ll