[llvm] [DSE] Simpily if condition (NFC) (PR #137777)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 06:14:19 PDT 2025


================
@@ -1210,13 +1210,11 @@ struct DSEState {
   bool isInvisibleToCallerAfterRet(const Value *V) {
     if (isa<AllocaInst>(V))
       return true;
+
----------------
NewSigma wrote:

Break a line for better readability. Feel free to tell me if it should not appear in this patch.

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


More information about the llvm-commits mailing list