diff options
author | Tim Northover <tnorthover@apple.com> | 2013-06-28 15:29:25 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-06-28 15:29:25 +0000 |
commit | 7cbc21529ddd7362688bdce90a451d5451e80240 (patch) | |
tree | bc5c8166897b40a7e7f595e59b36bb329060bd37 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 202881d1fe3a580bbdecd0b62d7fd83ae9d1b534 (diff) | |
download | llvm-7cbc21529ddd7362688bdce90a451d5451e80240.zip llvm-7cbc21529ddd7362688bdce90a451d5451e80240.tar.gz llvm-7cbc21529ddd7362688bdce90a451d5451e80240.tar.bz2 |
ARM: ensure fixed-point conversions have sane types
We were generating intrinsics for NEON fixed-point conversions that didn't
exist (e.g. float -> i16). There are two cases to consider:
+ iN is smaller than float. In this case we can do the conversion but need an
extend or truncate as well.
+ iN is larger than float. In this case using the NEON conversion would be
incorrect so we don't perform any combining.
llvm-svn: 185158
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions