summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-03-20 16:31:14 +0000
committerCraig Topper <craig.topper@gmail.com>2017-03-20 16:31:14 +0000
commitd92d2fc76318f704c870c3b82c1e00585571b5e7 (patch)
tree6cf9be739b876b57c9cb7a9816b3ca5ed3d5f9e3 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent02cbfb29265735f9c0d69ce10ea1281579a6a824 (diff)
downloadbcm5719-llvm-d92d2fc76318f704c870c3b82c1e00585571b5e7.tar.gz
bcm5719-llvm-d92d2fc76318f704c870c3b82c1e00585571b5e7.zip
[InstCombine] Print a debug message when we constant fold an operand during worklist creation
InstCombine tries to constant fold instruction operands during worklist building, but we don't print that we're doing this. We also set a change flag here that causes us to rebuild and rerun the worklist one more time even if processing the worklist itself created no additional changes. So in the log I saw two inst combine runs that visited all instructions without printing that anything was changed. I may be submitting another patch to remove the change flag unless I can find some reason why we should be doing that. Differential Revision: https://reviews.llvm.org/D31091 llvm-svn: 298264
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud