[llvm] TableGen: Generate enum for runtime libcall implementations (PR #144973)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 21:42:09 PDT 2025
sbc100 wrote:
Yup this patch fixes it:
```
--- a/llvm/include/llvm/IR/RuntimeLibcalls.h
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.h
@@ -90,8 +90,7 @@ struct RuntimeLibcallsInfo {
}
ArrayRef<RTLIB::LibcallImpl> getLibcallImpls() const {
- // Trim Unsupported from the start
- return ArrayRef(LibcallImpls).drop_front();
+ return LibcallImpls;
}
/// Get the comparison predicate that's to be used to test the result of the
```
https://github.com/llvm/llvm-project/pull/144973
More information about the llvm-commits
mailing list