mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
AMDGPU: Fix indentation of switch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afc0340d96
commit
11528555b1
@ -2448,17 +2448,18 @@ SDValue AMDGPUTargetLowering::PerformDAGCombine(SDNode *N,
|
||||
SDLoc DL(N);
|
||||
|
||||
switch(N->getOpcode()) {
|
||||
default: break;
|
||||
case ISD::MUL:
|
||||
return performMulCombine(N, DCI);
|
||||
case AMDGPUISD::MUL_I24:
|
||||
case AMDGPUISD::MUL_U24: {
|
||||
SDValue N0 = N->getOperand(0);
|
||||
SDValue N1 = N->getOperand(1);
|
||||
simplifyI24(N0, DCI);
|
||||
simplifyI24(N1, DCI);
|
||||
return SDValue();
|
||||
}
|
||||
default:
|
||||
break;
|
||||
case ISD::MUL:
|
||||
return performMulCombine(N, DCI);
|
||||
case AMDGPUISD::MUL_I24:
|
||||
case AMDGPUISD::MUL_U24: {
|
||||
SDValue N0 = N->getOperand(0);
|
||||
SDValue N1 = N->getOperand(1);
|
||||
simplifyI24(N0, DCI);
|
||||
simplifyI24(N1, DCI);
|
||||
return SDValue();
|
||||
}
|
||||
case ISD::SELECT: {
|
||||
SDValue Cond = N->getOperand(0);
|
||||
if (Cond.getOpcode() == ISD::SETCC && Cond.hasOneUse()) {
|
||||
|
Loading…
Reference in New Issue
Block a user