Skip to content

Commit 0498749

Browse files
committed
CIR: Add NYI diagnostic for __builtin_ia32_sqrtps
1 parent f4139a9 commit 0498749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,10 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
650650
case X86::BI__builtin_ia32_sqrtpd:
651651
case X86::BI__builtin_ia32_sqrtps256:
652652
case X86::BI__builtin_ia32_sqrtps:
653+
CGF.CGM.getDiags().Report(E->getExprLoc(), diag::err_cir_nyi)
654+
<< "__builtin_ia32_sqrtps";
655+
return CIRGenFunction::IgnoreValue();
656+
653657
case X86::BI__builtin_ia32_sqrtph256:
654658
case X86::BI__builtin_ia32_sqrtph:
655659
case X86::BI__builtin_ia32_sqrtph512:

0 commit comments

Comments
 (0)