[all-commits] [llvm/llvm-project] eda14e: [X86][mem-fold] Refine the code in X86FoldTablesEm...

KanRobert via All-commits all-commits at lists.llvm.org
Thu Apr 6 04:19:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eda14ebf6a43d9ada6a2be3d1b06b8b6036eb774
      https://github.com/llvm/llvm-project/commit/eda14ebf6a43d9ada6a2be3d1b06b8b6036eb774
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M llvm/utils/TableGen/X86FoldTablesEmitter.cpp

  Log Message:
  -----------
  [X86][mem-fold] Refine the code in X86FoldTablesEmitter.cpp, NFCI

1. Simplify code by using conditional operator
2. Add comments for "kz" and "store" cases
3. Rename variables to match flags




More information about the All-commits mailing list