[llvm] [LLVM] [MC] Update frame layout & CFI generation to handle frames larger than 2gb (PR #99263)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 13:50:34 PDT 2024


================
@@ -619,44 +619,44 @@ class MCCFIInstruction {
 
   /// .cfi_window_save SPARC register window is saved.
   static MCCFIInstruction createWindowSave(MCSymbol *L, SMLoc Loc = {}) {
-    return MCCFIInstruction(OpWindowSave, L, 0, 0, Loc);
+    return MCCFIInstruction(OpWindowSave, L, 0, INT64_C(0), Loc);
----------------
MaskRay wrote:

Prefer `0` to `INT64_C(0)`

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


More information about the llvm-commits mailing list