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 | c6f338dd5e95bb214e5f71323d9e91b222081ed8 (patch) | |
| tree | 174c866880d0c83a7b1462d3d65356bc474d0c66 /llvm/lib/Target/R600 | |
| parent | 36408e75696d97ccf0e054335c5beb29843183fe (diff) | |
| download | bcm5719-llvm-c6f338dd5e95bb214e5f71323d9e91b222081ed8.tar.gz bcm5719-llvm-c6f338dd5e95bb214e5f71323d9e91b222081ed8.zip | |
Use nullptr
llvm-svn: 210222
Diffstat (limited to 'llvm/lib/Target/R600')
| -rw-r--r-- | llvm/lib/Target/R600/SIISelLowering.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/R600/SIISelLowering.cpp b/llvm/lib/Target/R600/SIISelLowering.cpp index 8f3203065d0..1a861d4e036 100644 --- a/llvm/lib/Target/R600/SIISelLowering.cpp +++ b/llvm/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; } } |

