| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Fix ARM bswap16.ll test on Windows | Louis Gerbarg | 2014-05-12 |
| | | | | | | | | Windows on ARM only supports thumb mode execution, so we have to explicitly pick some non-Windows OS to test ARM mode codegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208638 91177308-0d34-0410-b5e6-96231b3b80d8 | ||
| * | Add support bswap16 to/from memory compiling to rev16 on ARM/Thumb | Louis Gerbarg | 2014-05-12 |
| The current patterns for REV16 misses mostn __builtin_bswap16() due to legalization promoting the operands to from load/stores toi32s and then truncing/extending them. This patch adds new patterns that catch the resultant DAGs and codegens them to rev16 instructions. Tests included. rdar://15353652 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208620 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
