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.
1 parent feaea47 commit 0330df2Copy full SHA for 0330df2
llvm/lib/CodeGen/GlobalISel/Utils.cpp
@@ -1247,7 +1247,7 @@ LLT llvm::getGCDType(LLT OrigTy, LLT TargetTy) {
1247
return OrigTy;
1248
1249
if (OrigTy.isVector() && TargetTy.isVector()) {
1250
- LLT OrigElt = LLT::scalar(OrigTy.getScalarSizeInBits());
+ LLT OrigElt = OrigTy.getElementType();
1251
1252
// TODO: The docstring for this function says the intention is to use this
1253
// function to build MERGE/UNMERGE instructions. It won't be the case that
0 commit comments