aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-06-28 15:29:25 +0000
committerTim Northover <tnorthover@apple.com>2013-06-28 15:29:25 +0000
commit7cbc21529ddd7362688bdce90a451d5451e80240 (patch)
treebc5c8166897b40a7e7f595e59b36bb329060bd37 /clang/lib/Frontend/CompilerInvocation.cpp
parent202881d1fe3a580bbdecd0b62d7fd83ae9d1b534 (diff)
downloadllvm-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