Use nullptr

llvm-svn: 210222
This commit is contained in:
Matt Arsenault 2014-06-05 00:01:12 +00:00
parent 36408e7569
commit c6f338dd5e
1 changed files with 2 additions and 3 deletions

View File

@ -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;
}
}