[PATCH] D51829: [MachineInstr] In addRegisterKilled and addRegisterDead, don't remove operands from inline assembly instructions if they have an associated flag operand.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 10 16:45:55 PDT 2018


rnk added a comment.

Sounds good, it could use an IR test though.

BTW, if you want to clean up these clobber lists for MS inline asm, they are computed in llvm/lib/MC/MCParser/AsmParser.cpp. I think that has access to MCRegisterInfo, which knows the super/sub register relationships. This fix on its own seems like a good idea, though.


Repository:
  rL LLVM

https://reviews.llvm.org/D51829





More information about the llvm-commits mailing list