# 登録された最適化パスの一覧を表示する
opt --print-passes
# mem2regパスを適用する
opt -passes="mem2reg" -S input.ll -o output.ll

See also