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 76a2d07 commit a9188adCopy full SHA for a9188ad
llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
@@ -255,6 +255,7 @@ static bool expandNormalizeIntrinsic(CallInst *Orig) {
255
Value *Elt = Builder.CreateExtractElement(X, (uint64_t)0);
256
unsigned XVecSize = XVec->getNumElements();
257
Value *DotProduct = nullptr;
258
+ // use the dot intrinsic corresponding to the vector size
259
switch (XVecSize) {
260
case 1:
261
report_fatal_error(Twine("Invalid input vector: length is zero"),
0 commit comments