[all-commits] [llvm/llvm-project] 361853: [LegalizeTypes] Properly handle the case when Upda...
topperc via All-commits
all-commits at lists.llvm.org
Wed Jul 1 11:49:59 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 361853c96f46848d2ad0739dfa7613e62e7fb530
https://github.com/llvm/llvm-project/commit/361853c96f46848d2ad0739dfa7613e62e7fb530
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-07-01 (Wed, 01 Jul 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
A llvm/test/CodeGen/X86/pr46532.ll
Log Message:
-----------
[LegalizeTypes] Properly handle the case when UpdateNodeOperands in PromoteIntOp_MLOAD triggers CSE instead of updating the node in place.
The caller can't handle the node having multiple results like a
masked load does. So we need to detect the case and do our own
result replacement.
Fixes PR46532.
More information about the All-commits
mailing list