Commit 31bd860e authored by Guillaume Chatelet's avatar Guillaume Chatelet
Browse files

Revert "Use concrete natural type alignment for masked load/store operations instead of 0."

This reverts commit 39819ccd.
parent ebc88811
......@@ -1388,12 +1388,11 @@ public:
case Intrinsic::sideeffect:
return 0;
case Intrinsic::masked_store:
return ConcreteTTI->getMaskedMemoryOpCost(Instruction::Store, Tys[0],
return ConcreteTTI->getMaskedMemoryOpCost(Instruction::Store, Tys[0], 0,
0, CostKind);
case Intrinsic::masked_load:
return ConcreteTTI->getMaskedMemoryOpCost(
Instruction::Load, RetTy, DL.getABITypeAlignment(RetTy), 0, CostKind);
return ConcreteTTI->getMaskedMemoryOpCost(Instruction::Load, RetTy, 0, 0,
case Intrinsic::experimental_vector_reduce_add:
return ConcreteTTI->getArithmeticReductionCost(Instruction::Add, VecOpTy,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment