[llvm] [SandboxIR] Add Instruction::isStackSaveRestoreIntrinsic() and isMemDepCandidate() (PR #109212)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 16:16:31 PDT 2024


================
@@ -1943,6 +1945,26 @@ class Instruction : public sandboxir::User {
   /// LangRef.html for the meaning of these flags.
   void copyFastMathFlags(FastMathFlags FMF);
 
+  bool isStackSaveRestoreIntrinsic() const {
----------------
aeubanks wrote:

```suggestion
  bool isStackSaveOrRestoreIntrinsic() const {
```

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


More information about the llvm-commits mailing list