OSDN Git Service

ARM: take account of possible bundle when erasing an instruction.
authorTim Northover <tnorthover@apple.com>
Fri, 17 Jun 2016 18:40:46 +0000 (18:40 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 17 Jun 2016 18:40:46 +0000 (18:40 +0000)
commitd476afda3880fbb21fc6a72d417f95c258478989
treeb747235ca27e9a561b48dff49b5dc996b294e4f7
parentf57147f09b614a7d4d6c32d00fb4e285319ee8cd
ARM: take account of possible bundle when erasing an instruction.

Fortunately this appears to be the only ARM-specific pass that runs while
bundles might be in play, so no other cases need modifying.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273029 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb2SizeReduction.cpp
test/CodeGen/ARM/thumb2-size-opt.ll