[llvm] [CodeGen] Port ExpandMemCmp to new pass manager (PR #74050)

via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 20:56:14 PST 2023


================
@@ -41,6 +41,7 @@ FUNCTION_PASS("consthoist", ConstantHoistingPass, ())
 FUNCTION_PASS("ee-instrument", EntryExitInstrumenterPass, (false))
 FUNCTION_PASS("expand-large-div-rem", ExpandLargeDivRemPass, ())
 FUNCTION_PASS("expand-large-fp-convert", ExpandLargeFpConvertPass, ())
+FUNCTION_PASS("expand-memcmp", ExpandMemCmpPass, (TM))
----------------
paperchalice wrote:

IIUC, it denotes `memcmp` in C so I follow C's behavior.

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


More information about the llvm-commits mailing list