summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-08-21 16:04:04 +0000
committerCraig Topper <craig.topper@intel.com>2017-08-21 16:04:04 +0000
commit8078dd2984cd4ba5a634038bd7b2326795fe6b23 (patch)
treef8db5a75837ceb6baaaf62fdfff4b26f3e5ffdde /llvm/lib/Transforms/InstCombine
parentd2838fc4b93a79a29d1f6d56b11eec2d30b01b58 (diff)
downloadbcm5719-llvm-8078dd2984cd4ba5a634038bd7b2326795fe6b23.tar.gz
bcm5719-llvm-8078dd2984cd4ba5a634038bd7b2326795fe6b23.zip
[X86] When selecting sse_load_f32/f64 pattern, make sure there's only one use of every node all the way back to the root of the match
Summary: With masked operations, its possible for the operation node like fadd, fsub, etc. to be used by multiple different vselects. Since the pattern matching will start at the vselect, we need to make sure the operation node itself is only used once before we can fold a load. Otherwise we'll end up folding the same load into multiple instructions. Reviewers: RKSimon, spatel, zvi, igorb Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36938 llvm-svn: 311342
Diffstat (limited to 'llvm/lib/Transforms/InstCombine')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud