https://bugs.llvm.org/show_bug.cgi?id=40728
Bug ID: 40728
Summary: AsmParser: Basename is not correct for atomic.notify
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: WebAssembly
Assignee: unassignedb...@nondot.org
Reporter: ahee...@gmail.com
CC: llvm-bugs@lists.llvm.org
For `atomic.notify` instruction from the thread proposal, the routine that
computes the basename of an instruction seems incorrect:
https://github.com/llvm/llvm-project/blob/c18e9ecd4fc1f8bce7cf1ad0a63cb64a3fc40040/llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp#L408-L410
Here, if there's a '.' in the name, it assumes the second part to be the
basename, which does not work for 'atomic.notify', causing it unable to be
parsed by AsmParser. Possibly there can be other instructions that triggers the
same bug, but haven't checked.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs