mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
AMDGPU/GlobalISel: Remove unnecessary code
The minnum/maxnum case are dead, and the cvt is handled by the default. llvm-svn: 366685
This commit is contained in:
parent
dacf89afe9
commit
c750f1d145
@ -567,10 +567,6 @@ bool AMDGPUInstructionSelector::selectG_INTRINSIC(
|
||||
MachineInstr &I, CodeGenCoverage &CoverageInfo) const {
|
||||
unsigned IntrinsicID = I.getOperand(I.getNumExplicitDefs()).getIntrinsicID();
|
||||
switch (IntrinsicID) {
|
||||
case Intrinsic::maxnum:
|
||||
case Intrinsic::minnum:
|
||||
case Intrinsic::amdgcn_cvt_pkrtz:
|
||||
return selectImpl(I, CoverageInfo);
|
||||
case Intrinsic::amdgcn_if_break: {
|
||||
MachineBasicBlock *BB = I.getParent();
|
||||
MachineFunction *MF = BB->getParent();
|
||||
|
Loading…
Reference in New Issue
Block a user