OSDN Git Service

[PowerPC] Implement hasBitPreservingFPLogic for types that can be supported
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 9 Oct 2018 20:35:15 +0000 (20:35 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 9 Oct 2018 20:35:15 +0000 (20:35 +0000)
commit7df2b65a8531b57ff44d73a7682d05f4e9ab0757
tree0de0a9d2ddc066107ce2e0084f87e50da348d97e
parentb5c5010513d4e431e82380846c68a948094ba569
[PowerPC] Implement hasBitPreservingFPLogic for types that can be supported

This is the PPC-specific non-controversial part of
https://reviews.llvm.org/D44548 that simply enables this combine for PPC
since PPC has these instructions.
This commit will allow the target-independent portion to be truly target
independent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344077 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
test/CodeGen/PowerPC/float-logic-ops.ll [new file with mode: 0644]