]> granicus.if.org Git - llvm/commit
[AArch64] Fix order of checks in shouldScheduleAdjacent.
authorFlorian Hahn <florian.hahn@arm.com>
Mon, 19 Jun 2017 13:45:41 +0000 (13:45 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Mon, 19 Jun 2017 13:45:41 +0000 (13:45 +0000)
commitfe252ffdaa62fc676b1bceaaba90652e51f07e5f
treeb39874daac001a119ed9e8522886ced2ae163eb8
parent5aac6c6367630b18ea1cb7dcc98761e35263a438
[AArch64] Fix order of checks in shouldScheduleAdjacent.

We need to check the opcode of FirstMI before accessing the operands. This
caused a buildbot failure during bootstrapping on AArch64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305694 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64MacroFusion.cpp