diff options
author | Piotr Padlewski <prazek@google.com> | 2015-09-02 19:59:53 +0000 |
---|---|---|
committer | Piotr Padlewski <prazek@google.com> | 2015-09-02 19:59:53 +0000 |
commit | 14e815c22bd167afe6bff4e65f09bbdeed029c87 (patch) | |
tree | 5099db1427cd2d1cffec340420f75ddebe0f7128 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | f175e04435ccd28e1f3cc55ebcf49800932768ca (diff) | |
download | bcm5719-llvm-14e815c22bd167afe6bff4e65f09bbdeed029c87.tar.gz bcm5719-llvm-14e815c22bd167afe6bff4e65f09bbdeed029c87.zip |
Constant propagation after hiting llvm.assume
After hitting @llvm.assume(X) we can:
- propagate equality that X == true
- if X is icmp/fcmp (with eq operation), and one of operand
is constant we can change all variables with constants in the same BasicBlock
http://reviews.llvm.org/D11918
llvm-svn: 246695
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions