Files
clang-p2996/llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
Nikita Popov 66bb752162 [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
2023-08-16 10:02:18 +02:00

15 KiB