[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)
commit87873d04c3401ecd91bbdd38b2b84b1f6bc0b1e4
treef6e9cb8173dbc5cf6a0c969259bbe30f6087d0bf
parente3ccd2866047e8f034c67e75fda72537eea0ce7c
[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.

llvm-svn: 344077
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/test/CodeGen/PowerPC/float-logic-ops.ll [new file with mode: 0644]