[llvm] [SimplifyLibCall][Attribute] Fix bug where we may keep `range` attr with incompatible type (PR #112649)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 06:59:21 PDT 2024


goldsteinn wrote:

> LGTM
> 
> This is quite ugly, but I don't have a better suggestion on how to handle this generically.

Agreed. I think there are some helpers you could wrap this with to clean up some the uses, but AFAICT this was necessary.

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


More information about the llvm-commits mailing list