[all-commits] [llvm/llvm-project] 822448: [Hexagon] Fix MachineSink not to hoist FP instruct...

sgundapa via All-commits all-commits at lists.llvm.org
Tue Jan 4 15:56:23 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 822448635edc95cdf742e7b86630dc24c239032c
  Author: Sumanth Gundapaneni <sgundapa at quicinc.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonInstrInfo.h
    A llvm/test/CodeGen/Hexagon/machine-sink-float-usr.mir

  Log Message:
  [Hexagon] Fix MachineSink not to hoist FP instructions that update USR.

Ideally we should make USR as Def for these floating point instructions.
However, it violates some assembler MCChecker rules. This patch fixes
the issue by marking these FP instructions as non-sinkable.

More information about the All-commits mailing list