[ARM] Use just ARM::t2B in ARMBlockPlacementPass
authorDavid Green <david.green@arm.com>
Thu, 29 Apr 2021 06:44:04 +0000 (07:44 +0100)
committerDavid Green <david.green@arm.com>
Thu, 29 Apr 2021 06:44:04 +0000 (07:44 +0100)
commit465df35355ec30ab8c60ef1c0c156a6b22bda7d4
treeb8ed769bdddc06e4632531954c23326469af5f68
parentd78782f6a6ee98defe12ec9dde22144e1fe36ce6
[ARM] Use just ARM::t2B in ARMBlockPlacementPass

The ARMConstantIsland pass will convert any t2B to tB if they are within
range after it has added or moved any constant pools. They don't need to
be deliberately converted beforehand, and it doesn't deal with needing
to convert tB to t2B very well.
llvm/lib/Target/ARM/ARMBlockPlacement.cpp
llvm/test/CodeGen/Thumb2/block-placement.mir