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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 00:23:53 PDT 2024


================
@@ -1292,7 +1292,8 @@ bool isNoFPClassCompatibleType(Type *Ty);
 /// if only attributes that are known to be safely droppable are contained in
 /// the mask; only attributes that might be unsafe to drop (e.g., ABI-related
 /// attributes) are in the mask; or both.
----------------
nikic wrote:

Update doc comment for AS parameter. In particular, it should be clear that the returned mask is not required to be a subset of AS. AS is effectively just a type hint.

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


More information about the llvm-commits mailing list