We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
initActions
1 parent c09acd5 commit 53b7abdCopy full SHA for 53b7abd
llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -614,7 +614,7 @@ void TargetLoweringBase::initActions() {
614
std::end(TargetDAGCombineArray), 0);
615
616
for (MVT VT : MVT::fp_valuetypes()) {
617
- MVT IntVT = MVT::getIntegerVT(VT.getSizeInBits());
+ MVT IntVT = MVT::getIntegerVT(VT.getSizeInBits().getFixedSize());
618
if (IntVT.isValid()) {
619
setOperationAction(ISD::ATOMIC_SWAP, VT, Promote);
620
AddPromotedToType(ISD::ATOMIC_SWAP, VT, IntVT);
0 commit comments