[PATCH] D154159: [FuncSpec] Avoid crashing when SwitchInst doesn't see ConstantInt

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 18:59:55 PDT 2023


ChuanqiXu accepted this revision.
ChuanqiXu added a comment.
This revision is now accepted and ready to land.

LGTM. Thanks.



================
Comment at: llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-expression6.ll:21
+bb2:
+  ret i32 0
+}
----------------
nit


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154159



More information about the llvm-commits mailing list