jdoerfert added inline comments.

================
Comment at: llvm/lib/Transforms/Utils/InlineFunction.cpp:1172
+        return true;
+    return false;
+  };
----------------
`mayThrow` is not sufficient. As with my earlier example, a potential `exit` is 
sufficient to break this, thus you need `willreturn` as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76140/new/

https://reviews.llvm.org/D76140



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to