[all-commits] [llvm/llvm-project] 66bb75: [PreISelIntrinsicLowering] Use TLI for correct fun...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Aug 16 01:02:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66bb7521625826cab6fcc24662c053deee1ef90c
https://github.com/llvm/llvm-project/commit/66bb7521625826cab6fcc24662c053deee1ef90c
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-08-16 (Wed, 16 Aug 2023)
Changed paths:
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
Log Message:
-----------
[PreISelIntrinsicLowering] Use TLI for correct function
We should query the subtarget of the calling function, not of the
intrinsic.
This probably makes no functional difference (as libcalls are
unlikely to vary across subtargets), but fixes minor compile-time
regressions from unnecessary subtarget instantiations.
Followup to D157567.
Differential Revision: https://reviews.llvm.org/D157848
More information about the All-commits
mailing list