[all-commits] [llvm/llvm-project] 5f3f45: [Hexagon] Check isInstr() before getInstr() with S...
LiaoXinglong via All-commits
all-commits at lists.llvm.org
Thu May 14 06:48:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5f3f45dc5338266f4e73bdbea2ce20fdb7142ded
https://github.com/llvm/llvm-project/commit/5f3f45dc5338266f4e73bdbea2ce20fdb7142ded
Author: Xinglong Liao <xinglong.liao at gmail.com>
Date: 2020-05-14 (Thu, 14 May 2020)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
Log Message:
-----------
[Hexagon] Check isInstr() before getInstr() with SUnit
SUnit represent a MachineInstr in post-regalloc scheduling but SDNode
in pre-regalloc scheduling. when pass -enable-hexagon-sdnode-sched to
Hexagon backend with -O1 and above, this may cause an assertion failed.
Fixes PR45194.
Differential Revision: https://reviews.llvm.org/D76134
More information about the All-commits
mailing list