summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-03-25 18:18:27 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-03-25 18:18:27 +0000
commit0c274feedf1ffdb8a674b8419d0015368d3d1f28 (patch)
tree48dbfa494de8aa6b674dd8532390ac740eb8bff2 /llvm/lib/Target/R600/AMDGPUISelLowering.cpp
parentab88f62614752aef658dcb5dc4f14543ff2b2b14 (diff)
downloadbcm5719-llvm-0c274feedf1ffdb8a674b8419d0015368d3d1f28.tar.gz
bcm5719-llvm-0c274feedf1ffdb8a674b8419d0015368d3d1f28.zip
R600: Move computeMaskedBitsForTargetNode out of AMDILISelLowering.cpp
Remove handling of select_cc, since it makes no sense to be there. This now does nothing, but I'll be adding some handling of other target nodes soon. llvm-svn: 204743
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index 743bf6f7a92..f6e48c9abb3 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -1156,3 +1156,12 @@ const char* AMDGPUTargetLowering::getTargetNodeName(unsigned Opcode) const {
NODE_NAME_CASE(TBUFFER_STORE_FORMAT)
}
}
+
+void AMDGPUTargetLowering::computeMaskedBitsForTargetNode(
+ const SDValue Op,
+ APInt &KnownZero,
+ APInt &KnownOne,
+ const SelectionDAG &DAG,
+ unsigned Depth) const {
+ KnownZero = KnownOne = APInt(KnownOne.getBitWidth(), 0); // Don't know anything.
+}
OpenPOWER on IntegriCloud