[llvm] [AsmParser] Don't require value numbers to be consecutive (PR #78171)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 15 07:40:56 PST 2024


================
@@ -3,7 +3,7 @@
 
 ; Check that numbered variables in a nonzero program address space 200 can be used in a call instruction
 
-define i8 @test_unnamed(ptr, ptr addrspace(42) %0) {
+define i8 @test_unnamed(ptr, ptr addrspace(42) %1) {
----------------
nikic wrote:

This is a bug in the previous implementation: While `%0` is written here, it was actually interpreted as `%1`.

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


More information about the llvm-commits mailing list