Skip to content

Commit 7ba9506

Browse files
committed
clang: Fix elementwise value naming to match instruction
1 parent 767e429 commit 7ba9506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3206,7 +3206,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
32063206
emitUnaryBuiltin(*this, E, llvm::Intrinsic::trunc, "elt.trunc"));
32073207
case Builtin::BI__builtin_elementwise_canonicalize:
32083208
return RValue::get(
3209-
emitUnaryBuiltin(*this, E, llvm::Intrinsic::canonicalize, "elt.trunc"));
3209+
emitUnaryBuiltin(*this, E, llvm::Intrinsic::canonicalize, "elt.canonicalize"));
32103210
case Builtin::BI__builtin_elementwise_copysign:
32113211
return RValue::get(emitBinaryBuiltin(*this, E, llvm::Intrinsic::copysign));
32123212
case Builtin::BI__builtin_elementwise_fma:

0 commit comments

Comments
 (0)