OSDN Git Service

[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)
commitfc533c3fb32a2b7a2fb2426ebe2980264d4e4dd3
treea97052e69364678ea13729343daebda0e7eb6e2c
parent195d3fa9886b7fb1dd8b46b64af923d63bc2aa3b
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/fold-not-thread.ll