summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/InstrProfReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-17 16:57:42 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-04-17 16:57:42 +0000
commit203958100289f8273bf4bce1a7239cba9e707264 (patch)
tree2c5f8bd87ce2f2468394f6be19ff7876778894a7 /llvm/lib/ProfileData/InstrProfReader.cpp
parent394d0a163714ee544266f31536e7bdd81fdb2fc0 (diff)
downloadbcm5719-llvm-203958100289f8273bf4bce1a7239cba9e707264.tar.gz
bcm5719-llvm-203958100289f8273bf4bce1a7239cba9e707264.zip
[LVI][CVP] Constrain values in with.overflow branches
If a branch is conditional on extractvalue(op.with.overflow(%x, C), 1) then we can constrain the value of %x inside the branch based on makeGuaranteedNoWrapRegion(). We do this by extending the edge-value handling in LVI. This allows CVP to then fold comparisons against %x, as illustrated in the tests. Differential Revision: https://reviews.llvm.org/D60650 llvm-svn: 358597
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud