diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-04 22:44:21 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-04 22:44:21 +0000 |
commit | 06c6791742dfdd54b51441589e1c0921f9851675 (patch) | |
tree | db3ee9b1cdab05564c62d68b6877e20e780180b3 /lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp | |
parent | 15f1d8c557c217b90a82599d5f0f849f8340a1e3 (diff) |
When gvn decides to replace an instruction with another, we have to patch the
replacement to make it at least as generic as the instruction being replaced.
This includes:
* dropping nsw/nuw flags
* getting the least restrictive tbaa and fpmath metadata
* merging ranges
Fixes PR12979.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions