[PATCH] D72047: Add an interface emitPrefix for MCCodeEmitter
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 5 21:12:20 PST 2020
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp:1367
+ // Pseudo instructions don't get encoded.
+ if ((TSFlags & X86II::FormMask) == X86II::Pseudo)
+ return;
----------------
When would emitPrefix be called on a X86II::Pseudo?
================
Comment at: llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp:1421
errs() << "FORM: " << Form << "\n";
llvm_unreachable("Unknown FormMask value in X86MCCodeEmitter!");
+ case X86II::RawFrmDstSrc:
----------------
Why is Pseudo no longer in this switch?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72047/new/
https://reviews.llvm.org/D72047
More information about the llvm-commits
mailing list