diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-09-25 22:07:33 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-09-25 22:07:33 +0000 |
commit | edee9999c4de706f29272eb9757260a188cae59e (patch) | |
tree | e81a8a09974bc86be79b0132832f7e339f484a4d /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | b7f45eb60960f44259c88d3b266039e009994958 (diff) | |
download | bcm5719-llvm-edee9999c4de706f29272eb9757260a188cae59e.tar.gz bcm5719-llvm-edee9999c4de706f29272eb9757260a188cae59e.zip |
Revert r312724 ("[ARM] Remove redundant vcvt patterns.").
It leads to some improvements, but also a regression for the simple
case, so it's not clearly a good idea.
test/CodeGen/ARM/vcvt.ll now has test coverage to show the difference.
Ultimately, the right solution is probably to custom-lower fp-to-int
conversions, to something like ARMISD::VCVT_F32_S32 plus a bitcast.
It's hard to do the right thing when the implicit bitcast isn't visible
to DAG transforms.
llvm-svn: 314169
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions