diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-12-16 15:01:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 15:01:48 +0900 |
commit | b446c208a5f0e2ad7193cc23e70642d207db4d13 (patch) | |
tree | e24e64fbcf761e0172d240741312c4d4c20be63f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 9ba7e2da009d7128c81e16f5a8e60c9abcb0e83d (diff) | |
download | llvm-b446c208a5f0e2ad7193cc23e70642d207db4d13.zip llvm-b446c208a5f0e2ad7193cc23e70642d207db4d13.tar.gz llvm-b446c208a5f0e2ad7193cc23e70642d207db4d13.tar.bz2 |
AMDGPU: Verify function type matches when matching libcalls (#119043)
Previously this would recognize a call to a mangled ldexp(float, float)
as a candidate to replace with the intrinsic. We need to verify the second
parameter is in fact an integer.
Fixes: SWDEV-501389
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions