mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
AMDGPU: Add comment about clamps
llvm-svn: 314952
This commit is contained in:
parent
263f0dbf65
commit
d79bc6a3f1
@ -723,6 +723,8 @@ void SIFoldOperands::foldInstOperand(MachineInstr &MI,
|
||||
}
|
||||
}
|
||||
|
||||
// Clamp patterns are canonically selected to v_max_* instructions, so only
|
||||
// handle them.
|
||||
const MachineOperand *SIFoldOperands::isClamp(const MachineInstr &MI) const {
|
||||
unsigned Op = MI.getOpcode();
|
||||
switch (Op) {
|
||||
|
Loading…
Reference in New Issue
Block a user