================
@@ -361,6 +361,10 @@ static void attemptToFoldSymbolOffsetDifference(const 
MCAssembler *Asm,
         if (BBeforeRelax && AAfterRelax)
           return;
       }
+      const auto *RF = dyn_cast<MCRelaxableFragment>(F);
+      if (RF && RF->isLinkerRelaxable()) {
+        return;
----------------
MaskRay wrote:

remove braces around single-line simple body

https://github.com/llvm/llvm-project/pull/153670
_______________________________________________
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