[PATCH] D43777: [ARM] Another f16 litpool fix

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 12:37:36 PST 2018


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: olista01, samparker, momchil.velikov.
Herald added subscribers: kristof.beyls, javed.absar.

We were always setting the block alignment to 2 bytes in Thumb mode
and 4-bytes in ARM mode, but this could cause reducing the block
alignment when it already had been aligned (e.g. in Thumb mode when
the block is a CPE that was already 4-byte aligned).

      

Patch by Momchil Velikov, I've only added a test.


https://reviews.llvm.org/D43777

Files:
  lib/Target/ARM/ARMConstantIslandPass.cpp
  test/CodeGen/ARM/fp16-litpool3-arm.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43777.135953.patch
Type: text/x-patch
Size: 4626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180226/19ce43df/attachment.bin>


More information about the llvm-commits mailing list