[llvm] [GlobalOpt] Don't query TTI on a llvm.memcpy declaration. (PR #127760)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 09:48:00 PST 2025


topperc wrote:

> Is it possible to write a regression test for this?

No target uses subtarget information in their implementation of `getNumBytesToPadGlobalArray` so I think the only thing we could test is the absence of the warning message from RISC-V.

https://github.com/llvm/llvm-project/pull/127760


More information about the llvm-commits mailing list