commit | 3455c40f918b7e869ed83420a7e84d01e2fccb9f | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Thu Jun 12 20:06:33 2014 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Thu Jun 12 20:06:33 2014 +0000 |
tree | b64ea71f4553e1488892cf0ddf82b3d5181693bb | |
parent | a15b05e1aa18920a8f664a2af4c77874bc82474e [diff] |
CodeGen: enable mov.w/mov.t pairs with minsize for WoA Windows on ARM uses COFF/PE which is intrinsically position independent. For the case of 32-bit immediates, use a pair-wise relocation as otherwise we may exceed the range of operators. This fixes a code generation crash when using -Oz when targeting Windows on ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210814 91177308-0d34-0410-b5e6-96231b3b80d8