]> granicus.if.org Git - llvm/commit
LiveIntervals: Fix handleMove asserting on BUNDLE
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 19 Jul 2019 19:32:00 +0000 (19:32 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 19 Jul 2019 19:32:00 +0000 (19:32 +0000)
commit8604ed1c9235ca9afb4e2bc856b52e892ad4f3e9
tree2b7063be978d1fcfb4db77940a6b4861503367ed
parentdbad3280d965081c5d392b85b9a2a4021db02b30
LiveIntervals: Fix handleMove asserting on BUNDLE

The top-level BUNDLE instruction should behave as an ordinary
instruction. It is supposed to have all relevant registers as implicit
operands. Moving it should work as any other instruction. I believe
the assert intended to avoid moving instructions inside bundles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366605 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervals.cpp
test/CodeGen/AMDGPU/scheduler-handle-move-bundle.mir [new file with mode: 0644]