mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
radeon/llvm: Update and fix some comments
This commit is contained in:
parent
89ece086bc
commit
83169900fb
2 changed files with 6 additions and 12 deletions
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Most of the DAG lowering is handled in AMDILISelLowering.cpp. This file
|
||||
// Most of the DAG lowering is handled in AMDGPUISelLowering.cpp. This file
|
||||
// is mostly EmitInstrWithCustomInserter().
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
@ -39,12 +39,6 @@ R600TargetLowering::R600TargetLowering(TargetMachine &TM) :
|
|||
|
||||
setOperationAction(ISD::FSUB, MVT::f32, Expand);
|
||||
|
||||
#if 0
|
||||
|
||||
setTargetDAGCombine(ISD::Constant);
|
||||
setTargetDAGCombine(ISD::ConstantFP);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
MachineBasicBlock * R600TargetLowering::EmitInstrWithCustomInserter(
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Most of the DAG lowering is handled in AMDILISelLowering.cpp. This file is
|
||||
// Most of the DAG lowering is handled in AMDGPUISelLowering.cpp. This file is
|
||||
// mostly EmitInstrWithCustomInserter().
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
@ -61,8 +61,8 @@ MachineBasicBlock * SITargetLowering::EmitInstrWithCustomInserter(
|
|||
BuildMI(*BB, I, BB->findDebugLoc(I), TII->get(AMDIL::V_MOV_B32_e64))
|
||||
.addOperand(MI->getOperand(0))
|
||||
.addOperand(MI->getOperand(1))
|
||||
/* VSRC1-2 are unused, but we still need to fill all the
|
||||
* operand slots, so we just reuse the VSRC0 operand */
|
||||
// VSRC1-2 are unused, but we still need to fill all the
|
||||
// operand slots, so we just reuse the VSRC0 operand
|
||||
.addOperand(MI->getOperand(1))
|
||||
.addOperand(MI->getOperand(1))
|
||||
.addImm(0) // ABS
|
||||
|
|
@ -76,8 +76,8 @@ MachineBasicBlock * SITargetLowering::EmitInstrWithCustomInserter(
|
|||
BuildMI(*BB, I, BB->findDebugLoc(I), TII->get(AMDIL::V_MOV_B32_e64))
|
||||
.addOperand(MI->getOperand(0))
|
||||
.addOperand(MI->getOperand(1))
|
||||
/* VSRC1-2 are unused, but we still need to fill all the
|
||||
* operand slots, so we just reuse the VSRC0 operand */
|
||||
// VSRC1-2 are unused, but we still need to fill all the
|
||||
// operand slots, so we just reuse the VSRC0 operand
|
||||
.addOperand(MI->getOperand(1))
|
||||
.addOperand(MI->getOperand(1))
|
||||
.addImm(1) // ABS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue