diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-03-05 22:14:00 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-03-05 22:14:00 +0000 |
commit | 6a56b217290ca1262aa6025d35bb60bae176825a (patch) | |
tree | 920756c1e358996433762025acd85e901a65eac6 /clang/lib/Analysis/ReachableCode.cpp | |
parent | 4853a10e579e69a42a6d9b14fe81601b8f14bb86 (diff) | |
download | llvm-6a56b217290ca1262aa6025d35bb60bae176825a.zip llvm-6a56b217290ca1262aa6025d35bb60bae176825a.tar.gz llvm-6a56b217290ca1262aa6025d35bb60bae176825a.tar.bz2 |
With PPC CR bit registers, handle int_to_fp on older cores
On cores without fpcvt support, we cannot promote int_to_fp i1 operations,
because there is nothing to promote them to. The most straightforward
implementation of this uses a select to choose between the two possible
resulting floating-point values (and that's what is done here).
llvm-svn: 203015
Diffstat (limited to 'clang/lib/Analysis/ReachableCode.cpp')
0 files changed, 0 insertions, 0 deletions