diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-10-12 18:15:33 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-10-12 18:15:33 +0000 |
commit | bc357e8fa361021dd53f4b86234e034500d9493d (patch) | |
tree | db1b8af24d1b18e178d8cb32ed82518ebca6f559 /llvm/lib/Transforms/Utils/BypassSlowDivision.cpp | |
parent | cc88ce36ed6dd8f87b3045da30d224adc64815cc (diff) | |
download | bcm5719-llvm-bc357e8fa361021dd53f4b86234e034500d9493d.tar.gz bcm5719-llvm-bc357e8fa361021dd53f4b86234e034500d9493d.zip |
[SimplifyCFG] Don't create PHI nodes for constant bundle operands
Summary:
Constant bundle operands may need to retain their constant-ness for
correctness. I'll admit that this is slightly odd, but it looks like
SimplifyCFG already does this for things like @llvm.frameaddress and
@llvm.stackmap, so I suppose adding one more case is not a big deal.
It is possible to add a mechanism to denote bundle operands that need to
remain constants, but that's probably too complicated for the time
being.
Reviewers: jmolloy
Subscribers: mcrosier, llvm-commits
Differential Revision: https://reviews.llvm.org/D25502
llvm-svn: 284028
Diffstat (limited to 'llvm/lib/Transforms/Utils/BypassSlowDivision.cpp')
0 files changed, 0 insertions, 0 deletions