[all-commits] [llvm/llvm-project] 702aae: [X86] Move 's{hr, ar, hl} , <op>' to 'shift <op>' op...

topperc via All-commits all-commits at lists.llvm.org
Tue Oct 20 15:24:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 702aae368a6d7744ea025c860c81f9df1da05b7f
      https://github.com/llvm/llvm-project/commit/702aae368a6d7744ea025c860c81f9df1da05b7f
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

  Log Message:
  -----------
  [X86] Move 's{hr,ar,hl} , <op>' to 'shift <op>' optimization in the assembler into processInstruction.

Instead of detecting the mnemonic and hacking the operands before
parsing. Just fix it up after parsing.


  Commit: 1298252f80fec0cd77aabef5cb133e7b030852e4
      https://github.com/llvm/llvm-project/commit/1298252f80fec0cd77aabef5cb133e7b030852e4
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

  Log Message:
  -----------
  [X86] Move 'int $3' -> 'int3' handling in the assembler to processInstruction.

Instead of handling before parsing, just fix it after parsing.


Compare: https://github.com/llvm/llvm-project/compare/9339ab30fbe4...1298252f80fe


More information about the All-commits mailing list