[PATCH] D140160: [llvm][SelectionDAGBuilder] codegen callbr.landingpad intrinsic
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 18 10:31:52 PST 2023
nickdesaulniers planned changes to this revision.
nickdesaulniers added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:11644
+ ? cast<StructType>(CBRType)->elements()
+ : makeArrayRef(CBRType);
+ size_t NumReturnValues = ResultTypes.size();
----------------
After a rebase this morning, I'm seeing:
```
[2218/5419] Building CXX object lib/CodeGen/Sel.../LLVMSelectionDAG.dir/SelectionDAGBuilder.cpp.o
/android0/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:11641:40: warning: 'makeArrayRef<llvm::Type *>' is deprecated: Use deduction guide instead [-Wdeprecated-declarations]
: makeArrayRef(CBRType);
^~~~~~~~~~~~
ArrayRef
/android0/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:509:3: note: 'makeArrayRef<llvm::Type *>' has been explicitly marked deprecated here
LLVM_DEPRECATED("Use deduction guide instead", "ArrayRef")
^
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140160/new/
https://reviews.llvm.org/D140160
More information about the llvm-commits
mailing list