diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-06 04:14:02 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-06 04:14:02 +0000 |
commit | e8d0c4cceaab3f002ee4996c98848e2c21938492 (patch) | |
tree | 6645ac658d30a8c6b0286fed932e34e904195bb5 /clang/unittests/Format/FormatTest.cpp | |
parent | 77b16b78e9c94ab47552d60f31c479ef1b212f2e (diff) | |
download | bcm5719-llvm-e8d0c4cceaab3f002ee4996c98848e2c21938492.tar.gz bcm5719-llvm-e8d0c4cceaab3f002ee4996c98848e2c21938492.zip |
[ARM][FastISel] Use TST #1 instead of CMP #0 for select.
Since r234249, i1 are sext instead of zext; because of that, doing
"CMP rN, #0; IT EQ/NE" isn't correct anymore.
"TST #1" is the conservatively correct alternative - the tradeoff being
that it doesn't have a 16-bit encoding -, so use that instead.
llvm-svn: 236569
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions