[llvm] [IR] Add new Range attribute using new ConstantRange Attribute type (PR #83171)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 09:17:24 PST 2024


================
@@ -526,6 +526,16 @@ define void @f91(ptr dead_on_unwind %p) {
   ret void
 }
 
+; CHECK: define range(i32 -1,42) i32 @range_attribute(<4 x i32> range(i32 -1,42) %a)
----------------
nikic wrote:

Should print a space after the comma maybe?

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


More information about the llvm-commits mailing list