[all-commits] [llvm/llvm-project] b2aa54: [RISCV] Temporarily move riscv-expand-pseudo pass ...

Luís Marques via All-commits all-commits at lists.llvm.org
Wed Jul 1 08:26:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b2aa546b0747418b0784b291b9104a4e3bf1e0c9
      https://github.com/llvm/llvm-project/commit/b2aa546b0747418b0784b291b9104a4e3bf1e0c9
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/test/CodeGen/RISCV/codemodel-lowering.ll

  Log Message:
  -----------
  [RISCV] Temporarily move riscv-expand-pseudo pass to PreEmitPass2

The pass to split atomic and non-atomic RISC-V pseudo-instructions was itself
split into two passes in D79635 / commit rG2cb0644f90b7, with the splitting of
non-atomic instructions being moved to the PreSched2 phase. A comment was
added to D79635 detailing a case where this caused problems, so this commit
moves the non-atomic split pass back to the PreEmitPass2 phase. This allows
the bulk of the changes from D79635 to remain committed, while addressing the
the reported problem (the pass split is now almost NFC). Once the root problem
is fixed we can move the (non-atomic) instruction splitting pass back to
earlier in the pipeline.




More information about the All-commits mailing list