]> granicus.if.org Git - llvm/commit
DAG: Add opcode and source type to isFPExtFree
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 13 Oct 2017 19:55:45 +0000 (19:55 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 13 Oct 2017 19:55:45 +0000 (19:55 +0000)
commite3590344cd853e48fbe3b03dc93f53f0de4e6606
tree8ca162d0c3ef186328720fe100b57f0593441b9d
parent59d5964ec6f0d455bc8f72d8a71ff09656e00276
DAG: Add opcode and source type to isFPExtFree

This is only currently used for mad/fma transforms.
This is the only case where it should be used for AMDGPU,
so add an opcode to be sure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315740 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h