[all-commits] [llvm/llvm-project] bfe302: [clang][X86] X86::LAR X86::LSL add_implicate eflag...

Qfrost via All-commits all-commits at lists.llvm.org
Wed Feb 14 20:54:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfe302c58321abd79a5db7e805ef4b4db24df820
      https://github.com/llvm/llvm-project/commit/bfe302c58321abd79a5db7e805ef4b4db24df820
  Author: Qfrost <root at qfrost.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrSystem.td

  Log Message:
  -----------
  [clang][X86] X86::LAR X86::LSL add_implicate eflags (#80993)

[@xia0ji233](https://github.com/xia0ji233) and I found that X86::LAR and
X86::lSR implicit use eflags register. However, it was not been defined
in LLVM, which means we will get wrong alive-result if we use these two
instructions.
![T~
_81W6A}J}{AP{DF%E}KY](https://github.com/llvm/llvm-project/assets/58380176/b84e758b-2978-49e7-a11c-726fd66e1976)




More information about the All-commits mailing list