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 0298c59 commit f881a38Copy full SHA for f881a38
clang/lib/CodeGen/CGBuiltin.cpp
@@ -19284,8 +19284,7 @@ case Builtin::BI__builtin_hlsl_elementwise_isinf: {
19284
}
19285
case Builtin::BI__builtin_hlsl_wave_active_any_true: {
19286
Value *Op = EmitScalarExpr(E->getArg(0));
19287
- llvm::Type *Ty = Op->getType();
19288
- assert(Ty->isIntegerTy(1) &&
+ assert(Op->getType()->isIntegerTy(1) &&
19289
"Intrinsic WaveActiveAnyTrue operand must be a bool");
19290
19291
Intrinsic::ID ID = CGM.getHLSLRuntime().getWaveActiveAnyTrueIntrinsic();
0 commit comments