commit | 2d81106fa01e77996a29704a3d3c31856ddbab70 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sun Jan 12 19:24:08 2014 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sun Jan 12 19:24:08 2014 +0000 |
tree | 5ce4480855c2ce40c953f3858ce89005f6e90337 | |
parent | 02a054cd61fa88bf194f153c0d84ce4a0cc70c13 [diff] |
Handle bundled terminators in isBlockOnlyReachableByFallthrough. Targets like SPARC and MIPS have delay slots and normally bundle the delay slot instruction with the corresponding terminator. Teach isBlockOnlyReachableByFallthrough to find any MBB operands on bundled terminators so SPARC doesn't need to specialize this function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199061 91177308-0d34-0410-b5e6-96231b3b80d8