[PATCH] D155743: [AggressiveInstCombine] Fold strcmp for short string literals with size 2

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 14:22:26 PDT 2023


nikic accepted this revision.
nikic added a comment.

Looks good to me as well.



================
Comment at: llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp:939
+    return false;
+  }
+
----------------
Drop braces (and maybe combine these two conditions?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155743



More information about the llvm-commits mailing list