[PATCH] Use function attribute "arm-restrict-it"

Akira Hatanaka ahatanak at gmail.com
Wed Jun 24 12:38:04 PDT 2015


Following the discussion on cfe-commits (http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150622/thread.html#131397), I've made changes to define a new ARM subtarget feature and use it to determine if IT blocks should be restricted. Previously, ARMSubtarget would check if the target supports armv8 instructions to make this decision. This is no longer needed as that decision is made in the front-end (see the corresponding clang patch:  http://reviews.llvm.org/D10414).


http://reviews.llvm.org/D10416

Files:
  lib/Target/ARM/ARM.td
  lib/Target/ARM/ARMSubtarget.cpp
  test/CodeGen/ARM/2013-05-05-IfConvertBug.ll
  test/CodeGen/ARM/2014-08-04-muls-it.ll
  test/CodeGen/ARM/arm-and-tst-peephole.ll
  test/CodeGen/ARM/ifcvt-branch-weight.ll
  test/CodeGen/ARM/thumb2-it-block.ll
  test/CodeGen/Thumb2/restict-it-fnattr.ll
  test/CodeGen/Thumb2/thumb2-ifcvt1.ll
  test/CodeGen/Thumb2/thumb2-ifcvt2.ll
  test/CodeGen/Thumb2/thumb2-ifcvt3.ll
  test/CodeGen/Thumb2/v8_IT_1.ll
  test/CodeGen/Thumb2/v8_IT_2.ll
  test/CodeGen/Thumb2/v8_IT_3.ll
  test/CodeGen/Thumb2/v8_IT_4.ll
  test/CodeGen/Thumb2/v8_IT_5.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10416.28383.patch
Type: text/x-patch
Size: 14155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150624/837337e4/attachment.bin>


More information about the llvm-commits mailing list