[all-commits] [llvm/llvm-project] eb50e7: DAG: Check libcall function is supported before em...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Jun 16 01:20:20 PDT 2025
Branch: refs/heads/users/arsenm/dag/check-libcall-before-emission
Home: https://github.com/llvm/llvm-project
Commit: eb50e736c24f5019812fedc83aeac11b178dc729
https://github.com/llvm/llvm-project/commit/eb50e736c24f5019812fedc83aeac11b178dc729
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-06-16 (Mon, 16 Jun 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AMDGPU/fneg.ll
Log Message:
-----------
DAG: Check libcall function is supported before emission
Whether the libcall implementation is supported should always
be checked before emission. Previously this would emit a call
to a non-existent function, and then since r600 doesn't support
calls it would error on the call. This switches it to a direct
legalization failure.
Also swap to use reportFatalInternalError. Probably should
be reportFatalUsageError; we don't want a backtrace and this will
never be fixed, but it is tested.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list