Skip to content

Commit 37fbd29

Browse files
committed
cleanup
1 parent 3b63a3a commit 37fbd29

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18961,18 +18961,12 @@ case Builtin::BI__builtin_hlsl_elementwise_isinf: {
1896118961
ArrayRef<Value *>{Op0, Op1}, nullptr, "hlsl.step");
1896218962
}
1896318963
case Builtin::BI__builtin_hlsl_wave_active_any_true: {
18964-
// Assert Op->getType() == Bool
18965-
18966-
// FIXME: PR Question: Can this be simpler? Looks like Int1Ty isn't
18967-
// predefined
1896818964
IntegerType *Int1Ty =
1896918965
llvm::Type::getInt1Ty(CGM.getTypes().getLLVMContext());
1897018966
Value *Op = EmitScalarExpr(E->getArg(0));
1897118967
assert(Op->getType() == Int1Ty &&
1897218968
"wave_active_any_true operand must be a bool");
1897318969

18974-
// FIXME: PR Question: Re Style SingleRef vs {SingleRef} vs
18975-
// ArrayRef{SingleRef}
1897618970
llvm::FunctionType *FT =
1897718971
llvm::FunctionType::get(Int1Ty, {Int1Ty}, /*isVarArg=*/false);
1897818972
llvm::StringRef Name = Intrinsic::getName(

0 commit comments

Comments
 (0)