[all-commits] [llvm/llvm-project] 6c3dc6: [X86] Merge disp8 and cdisp8 handling into a singl...

topperc via All-commits all-commits at lists.llvm.org
Tue Jul 28 10:46:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c3dc6e1d57d15568ebcb3b725fa65a7ba4462de
      https://github.com/llvm/llvm-project/commit/6c3dc6e1d57d15568ebcb3b725fa65a7ba4462de
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp

  Log Message:
  -----------
  [X86] Merge disp8 and cdisp8 handling into a single helper function to reduce some code.

We currently handle EVEX and non-EVEX separately in two places. By sinking the EVEX
check into the existing helper for CDisp8 we can simplify these two places.

Differential Revision: https://reviews.llvm.org/D84730


  Commit: 91b8c1fd0f31a548b75acb3de4dbee09847e19e5
      https://github.com/llvm/llvm-project/commit/91b8c1fd0f31a548b75acb3de4dbee09847e19e5
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp

  Log Message:
  -----------
  [X86] Simplify some code in emitMemModRMByte. NFCI


Compare: https://github.com/llvm/llvm-project/compare/04a21318b557...91b8c1fd0f31


More information about the All-commits mailing list