[PATCH] D78276: [X86][MC][NFC] Reduce the parameters of functions in X86MCCodeEmitter(Part II)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 00:47:50 PDT 2020


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp:1279
 
+  emitByte(0x40 | REX, CurByte, OS);
+
----------------
Don't we need to check that REX is non-zero before emitting the byte? Am I missing something?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78276/new/

https://reviews.llvm.org/D78276





More information about the llvm-commits mailing list