[llvm] [TypeSanitizer] Properly add ext attributes on arguments where needed. (PR #224366)

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 01:18:04 PDT 2026


JonPsson1 wrote:

> I think I'd rather have a new method like getExtAttrForI32Param for bools to allow us to handle this in a target-specific way.

ok, so I attempted this by adding a static method that is called instead of just hardcoding ZExt. It is only considering zero-extend as a possible alternative (for now), but at least this way this can easily be changed if needed in the future.

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


More information about the llvm-commits mailing list