diff options
author | Timm Baeder <tbaeder@redhat.com> | 2025-08-22 19:14:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-22 19:14:48 +0200 |
commit | c11f91acbbc977ccf0162001fdc352f611a07054 (patch) | |
tree | debe42f6c53f35bcab90985fb96c0475286c00ce /clang/lib/Sema/SemaChecking.cpp | |
parent | 6f9bce9e0518f77acca07678e75ce0af6384a429 (diff) | |
download | llvm-c11f91acbbc977ccf0162001fdc352f611a07054.zip llvm-c11f91acbbc977ccf0162001fdc352f611a07054.tar.gz llvm-c11f91acbbc977ccf0162001fdc352f611a07054.tar.bz2 |
[clang] Fix ignoring converted first arg of elementwise_fma (#154941)
Fixes #154900
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 1d3cd58c..6e777fb 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -15955,6 +15955,7 @@ bool Sema::BuiltinElementwiseTernaryMath( return true; } + TheCall->setArg(0, Args[0]); for (int I = 1; I < 3; ++I) { if (Args[0]->getType().getCanonicalType() != Args[I]->getType().getCanonicalType()) { |