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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 04:17:05 PST 2024


dtcxzyw wrote:

> I don't think there is any good reason to impose this requirement. This PR relaxes it to allow value IDs to be non-consecutive, but it still keeps the requirement that they're increasing (i.e. you can't skip a value number and then assign it later).

https://github.com/llvm/llvm-project/blob/2db9244b6f66a4fd4c937de7b33a5b6dda4a06a8/llvm/docs/LangRef.rst#L131-L135

Could you please update the LangRef as well?



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


More information about the llvm-commits mailing list