[MachineOutliner][AArch64][NFC] Add early exit to candidate discarding logic
authorJessica Paquette <jpaquette@apple.com>
Tue, 4 Dec 2018 00:31:47 +0000 (00:31 +0000)
committerJessica Paquette <jpaquette@apple.com>
Tue, 4 Dec 2018 00:31:47 +0000 (00:31 +0000)
commit2f5833ecd9aca404082113e9bde1e46351442a00
tree97e0a282cf4d3975c2028396c74ca8d9f9fecd15
parent23c48c282307ba3bdea1ca4ed94bc069fa108656
[MachineOutliner][AArch64][NFC] Add early exit to candidate discarding logic

If we dropped too many candidates to be beneficial when dropping candidates
that modify the stack, there's no reason to check for other cost model
qualities.

llvm-svn: 348219
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp