diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-05 00:01:12 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-06-05 00:01:12 +0000 |
commit | 6db82d3819d87df5ee70c817b39918890b54f7f7 (patch) | |
tree | 8bfefda7e98652f69ff2171a5ced79095a1fed6b /lib | |
parent | 06ac3ffc8f64040c72f17b77012b040dfc08de1d (diff) | |
download | llvm-6db82d3819d87df5ee70c817b39918890b54f7f7.tar.gz llvm-6db82d3819d87df5ee70c817b39918890b54f7f7.tar.bz2 llvm-6db82d3819d87df5ee70c817b39918890b54f7f7.tar.xz |
Use nullptr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/R600/SIISelLowering.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp index 8f3203065d..1a861d4e03 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -1371,7 +1371,6 @@ SDNode *SITargetLowering::foldOperands(MachineSDNode *Node, continue; if (DescE64) { - // Test if it makes sense to switch to e64 encoding unsigned OtherRegClass = DescE64->OpInfo[Op].RegClass; if (!isVSrc(OtherRegClass) && !isSSrc(OtherRegClass)) @@ -1402,7 +1401,7 @@ SDNode *SITargetLowering::foldOperands(MachineSDNode *Node, if (!DescE64) continue; Desc = DescE64; - DescE64 = 0; + DescE64 = nullptr; } else if (Operand.getMachineOpcode() == AMDGPU::FABS_SI) { Ops.pop_back(); @@ -1412,7 +1411,7 @@ SDNode *SITargetLowering::foldOperands(MachineSDNode *Node, if (!DescE64) continue; Desc = DescE64; - DescE64 = 0; + DescE64 = nullptr; } } |