[llvm] [BPF] Implement `canLowerReturn` for big returns (PR #174478)

Lucas Ste via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 8 10:13:11 PST 2026


================
@@ -0,0 +1,27 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -march=bpfel < %s | FileCheck %s
+; This test used to fail with "unable to allocate function return #1"
+
+define i128 @foo(i64 %a, i64 %b) {
----------------
LucasSte wrote:

I've added the test in https://github.com/llvm/llvm-project/pull/174478/commits/8bbaa7ade6960476c0533b7f619abc3988afd996.

https://github.com/llvm/llvm-project/pull/174478


More information about the llvm-commits mailing list