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.
It has been suggested that the assertion could be replaced by this more specific one: ``` L->getFunctionType() != R->getFunctionType() ```
This has been fixed by https://reviews.llvm.org/rL331990.