[PATCH] D135893: [FuncSpec] Fix specialisation based on literals
Alexandros Lamprineas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 15:20:24 PDT 2022
labrinea added inline comments.
================
Comment at: llvm/test/Transforms/FunctionSpecialization/literal-const.ll:86-92
+; Check all of `neg`, `add`, and `addf` were specialised.
+; CHECK-LIT-DAG: @neg.[[#A]]
+; CHECK-LIT-DAG: @neg.[[#B]]
+; CHECK-LIT-DAG: @add.[[#C]]
+; CHECK-LIT-DAG: @add.[[#D]]
+; CHECK-LIT-DAG: @addf.[[#E]]
+; CHECK-LIT-DAG: @addf.[[#F]]
----------------
Maybe add "define" before the specialized function names to make sure we match the definitions?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135893/new/
https://reviews.llvm.org/D135893
More information about the llvm-commits
mailing list