diff options
author | Davide Italiano <davide@freebsd.org> | 2016-07-13 23:20:04 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-07-13 23:20:04 +0000 |
commit | 296e9785ba820372831ef7a74f93a4399507d3eb (patch) | |
tree | 718e59c2d143cbde483151da5daead44f691faaf /llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp | |
parent | ef345e1d3f982ef1c88fa363a6bec568b804ce1c (diff) | |
download | bcm5719-llvm-296e9785ba820372831ef7a74f93a4399507d3eb.tar.gz bcm5719-llvm-296e9785ba820372831ef7a74f93a4399507d3eb.zip |
[SCCP] Have the logic for replacing insts with constant in a single place.
The code was pretty much copy-pasted between SCCP and IPSCCP. The situation
became clearly worse after I introduced the support for folding structs in
SCCP. This commit is NFC as we currently (still) skip the replacement
step in IPSCCP, but I'll change this soon.
llvm-svn: 275339
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions