mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-04 10:59:04 +00:00
Don't memoize vloads in the load map! Don't memoize them anywhere here, let
getNode do it. This fixes CodeGen/Generic/2006-04-11-vecload.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3678dbf69d
commit
9d956250f5
@ -1508,8 +1508,6 @@ SDOperand SelectionDAG::getLoad(MVT::ValueType VT,
|
|||||||
SDOperand SelectionDAG::getVecLoad(unsigned Count, MVT::ValueType EVT,
|
SDOperand SelectionDAG::getVecLoad(unsigned Count, MVT::ValueType EVT,
|
||||||
SDOperand Chain, SDOperand Ptr,
|
SDOperand Chain, SDOperand Ptr,
|
||||||
SDOperand SV) {
|
SDOperand SV) {
|
||||||
SDNode *&N = Loads[std::make_pair(Ptr, std::make_pair(Chain, EVT))];
|
|
||||||
if (N) return SDOperand(N, 0);
|
|
||||||
std::vector<SDOperand> Ops;
|
std::vector<SDOperand> Ops;
|
||||||
Ops.reserve(5);
|
Ops.reserve(5);
|
||||||
Ops.push_back(Chain);
|
Ops.push_back(Chain);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user