diff options
author | Xinglong Liao <xinglong.liao@gmail.com> | 2020-05-14 08:38:25 -0500 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@quicinc.com> | 2020-05-14 08:47:54 -0500 |
commit | 5f3f45dc5338266f4e73bdbea2ce20fdb7142ded (patch) | |
tree | 1009cdabeee1eb6c2c72c4d2adf3fd4558e9f5cf /clang/lib/Basic/SourceManager.cpp | |
parent | 5fc05c376a3cc0fb9a532e41d12e51f3d9916692 (diff) | |
download | llvm-5f3f45dc5338266f4e73bdbea2ce20fdb7142ded.zip llvm-5f3f45dc5338266f4e73bdbea2ce20fdb7142ded.tar.gz llvm-5f3f45dc5338266f4e73bdbea2ce20fdb7142ded.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions