[clang] [llvm] Case handling MachineOperandType address of a global value in SIFoldOperands (PR #135404)

2025-04-11 Thread Akhilesh Moorthy via cfe-commits
https://github.com/isakhilesh closed https://github.com/llvm/llvm-project/pull/135404 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Case handling MachineOperandType address of a global value in SIFoldOperands (PR #135404)

2025-04-11 Thread Akhilesh Moorthy via cfe-commits
https://github.com/isakhilesh created https://github.com/llvm/llvm-project/pull/135404 While `FoldingImmLike` accepts `MO_Immediate`, `MO_FrameIndex` and `MO_GlobalAddress`, the conditional block after it only covers the first 2, so I have added a case for the global value as well. >From 116