Skip to content

Commit fa00959

Browse files
committed
Address Luke's comment. Disable FAnyOf reduction for f16/bf16.
1 parent e7aedfc commit fa00959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,10 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
359359
case RecurKind::UMin:
360360
case RecurKind::UMax:
361361
case RecurKind::IAnyOf:
362-
case RecurKind::FAnyOf:
363362
case RecurKind::FMin:
364363
case RecurKind::FMax:
365364
return true;
365+
case RecurKind::FAnyOf:
366366
case RecurKind::FAdd:
367367
case RecurKind::FMulAdd:
368368
// We can't promote f16/bf16 fadd reductions and scalable vectors can't be

0 commit comments

Comments
 (0)