This is going to be useful for inline assembly only.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
While this is not for CodeGen, I think for the benefit of analysis tools (e.g. LLDB) the pattern should still be marked with the appropriate flags, at least something like "isCall = 1, Defs = [CC]". Not sure if hasSideEffects is necessary, but it probably cannot hurt to add it as well.
Otherweise the patch looks good.