[all-commits] [llvm/llvm-project] 42a4d5: [LoongArch] Set isBarrier to true for instruction ...

ZhaoQi via All-commits all-commits at lists.llvm.org
Wed Nov 15 22:02:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42a4d5e8cab1537515d92ed56d6e17b673ed352f
      https://github.com/llvm/llvm-project/commit/42a4d5e8cab1537515d92ed56d6e17b673ed352f
  Author: ZhaoQi <zhaoqi01 at loongson.cn>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/unittests/Target/LoongArch/MCInstrAnalysisTest.cpp

  Log Message:
  -----------
  [LoongArch] Set isBarrier to true for instruction 'b' (#72339)

Instr "b offs26" represent to an unconditional branch in LoongArch. Set
isBarrier to 1 in tablegen for it, so that MCInstrAnalysis can return
correctly.

Fixes https://github.com/llvm/llvm-project/pull/71903.




More information about the All-commits mailing list