aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/ReachableCode.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-03-05 22:14:00 +0000
committerHal Finkel <hfinkel@anl.gov>2014-03-05 22:14:00 +0000
commit6a56b217290ca1262aa6025d35bb60bae176825a (patch)
tree920756c1e358996433762025acd85e901a65eac6 /clang/lib/Analysis/ReachableCode.cpp
parent4853a10e579e69a42a6d9b14fe81601b8f14bb86 (diff)
downloadllvm-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