================
@@ -797,6 +797,23 @@ int64_t SIRegisterInfo::getScratchInstrOffset(const 
MachineInstr *MI) const {
 
 int64_t SIRegisterInfo::getFrameIndexInstrOffset(const MachineInstr *MI,
                                                  int Idx) const {
+  switch (MI->getOpcode()) {
----------------
arsenm wrote:

The only modifier would be clamp to saturate the add. It should work out the 
same since the clamp bit will be preserved 

https://github.com/llvm/llvm-project/pull/101692
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to