Skip to content
Commit eae91040 authored by Juergen Ributzka's avatar Juergen Ributzka
Browse files

[FastISel][AArch64] Don't fold the 'and' instruction into the 'tbz/tbnz'...

[FastISel][AArch64] Don't fold the 'and' instruction into the 'tbz/tbnz' instruction if it is in a different basic block.

This fixes a bug where the input register was not defined for the 'tbz/tbnz'
instruction. This happened, because we folded the 'and' instruction from a
different basic block.

This fixes rdar://problem/18784013.

llvm-svn: 220704
parent f920a0aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment