]> granicus.if.org Git - clang/commit
Driver: force restricted IT blocks for Windows on ARM
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 18 May 2014 06:42:02 +0000 (06:42 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 18 May 2014 06:42:02 +0000 (06:42 +0000)
commitd1376d137030d8b6aa628cedab8fd7e1e400ab5e
tree5a439a56a356c77986245de4233e8fc1379148ff
parentda176c6d6aee673ade66dbaa5065a035331e30db
Driver: force restricted IT blocks for Windows on ARM

Windows on ARM expects ARMv8 (restricted IT) conditional instructions only.
Force enable the restricted IT mode via the backend option when targeting WoA.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209086 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/woa-restrict-it.c [new file with mode: 0644]