iAI icon indicating copy to clipboard operation
iAI copied to clipboard

getMetaDataID returns "-1" for unknown/unhandled

Open blipper opened this issue 3 years ago • 0 comments

Bug description

getMetaDataID() returns "-1". This is not in compliance with the https://llvm.org/docs/LangRef.html#identifiers which requires numeric ids to be unsigned. This mostly matters for @zero_value = constant i2 0, align 4 | ID: -1

stol will fail since it expects unsigned

Expected result: Either "" or max unsigned int

blipper avatar Apr 18 '21 06:04 blipper