[llvm-branch-commits] [llvm] [AMDGPU] Treat a bitcast between legal types as free (PR #238412)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 3 10:55:14 PST 2026


michaelselehov wrote:

I changed the rule: a bitcast is now free only when both types are legal, so bitcasts that involve a type the target legalizes, such as a vector of i8, keep their cost. I updated the description and the details above.


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


More information about the llvm-branch-commits mailing list