[llvm] [ConstantHoisting] Add a TTI hook to prevent hoisting. (PR #69004)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 05:23:48 PST 2023


https://github.com/david-arm approved this pull request.

LGTM! After looking at the code and trying to understand the comments, I think overall this is the best approach. It looks like changing the meaning of getIntImmInstCost() will likely break other existing code.

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


More information about the llvm-commits mailing list