[llvm] [AMDGPU] Add target hook to isGlobalMemoryObject (PR #112781)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 22:14:07 PDT 2024


================
@@ -549,7 +549,7 @@ void ScheduleDAGInstrs::addVRegUseDeps(SUnit *SU, unsigned OperIdx) {
 
 /// Returns true if MI is an instruction we are unable to reason about
 /// (like a call or something with unmodeled side effects).
-static inline bool isGlobalMemoryObject(MachineInstr *MI) {
----------------
arsenm wrote:

What's the difference between this and TII::isSchedulingBoundary? 

Also wondering if we could treat these like isPosition 

https://github.com/llvm/llvm-project/pull/112781


More information about the llvm-commits mailing list