https://bugs.llvm.org/show_bug.cgi?id=37339
Bug ID: 37339
Summary: FunctionComparator::cmpInlineAsm is overly restrictive
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Transformation Utilities
Assignee: unassignedb...@nondot.org
Reporter: n.ox...@gmail.com
CC: llvm-bugs@lists.llvm.org
cmpInlineAsm will crash with an assertion if the two InlineAsm pointers aren't
equal but their fields are all compared equal. This is overly restrictive,
given two function types may compare equal even if they don't point to the same
function type.
This leads to https://godbolt.org/g/qn3ZNM failing to compile with assertions
on.
Found in https://github.com/rust-lang/rust/pull/49479#issuecomment-386406036.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs