[llvm-branch-commits] [llvm] [BPF] expand cttz, ctlz for i32, i64 (PR #73668)

2024-01-31 Thread Yingchi Long via llvm-branch-commits
@@ -0,0 +1,304 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4 +; RUN: llc < %s -march=bpf | FileCheck %s + +; test that we can expand CTTZ & CTLZ + +declare i32 @llvm.cttz.i32(i32, i1) + +define i32 @cttz_i32_zdef(i32 %a) {

[llvm-branch-commits] [llvm] [BPF] expand cttz, ctlz for i32, i64 (PR #73668)

2024-01-31 Thread Yingchi Long via llvm-branch-commits
@@ -0,0 +1,304 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4 +; RUN: llc < %s -march=bpf | FileCheck %s + +; test that we can expand CTTZ & CTLZ + +declare i32 @llvm.cttz.i32(i32, i1) + +define i32 @cttz_i32_zdef(i32 %a) {

[llvm-branch-commits] [llvm] [BPF] expand cttz, ctlz for i32, i64 (PR #73668)

2024-01-26 Thread Yingchi Long via llvm-branch-commits
inclyc wrote: @eddyz87 Could you please take a look? This has been stalled for a while :) https://github.com/llvm/llvm-project/pull/73668 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [llvm] [BPF] expand cttz, ctlz for i32, i64 (PR #73668)

2023-12-13 Thread Yingchi Long via llvm-branch-commits
inclyc wrote: Pinging @yonghong-song https://github.com/llvm/llvm-project/pull/73668 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BPF][GlobalISel] select non-PreISelGenericOpcode (PR #75034)

2023-12-11 Thread Yingchi Long via llvm-branch-commits
https://github.com/inclyc edited https://github.com/llvm/llvm-project/pull/75034 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BPF][GlobalISel] select non-PreISelGenericOpcode (PR #75034)

2023-12-11 Thread Yingchi Long via llvm-branch-commits
https://github.com/inclyc created https://github.com/llvm/llvm-project/pull/75034 This selects non-PreISelGenericOpcode as-is. >From 7684e98041fee0fbc5c6add0505ab414d4ff705a Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Mon, 11 Dec 2023 17:33:40 +0800 Subject: [PATCH] [BPF][GlobalISel] sel

[llvm-branch-commits] [llvm] [BPF][GlobalISel] add initial gisel support for BPF (PR #74999)

2023-12-10 Thread Yingchi Long via llvm-branch-commits
https://github.com/inclyc ready_for_review https://github.com/llvm/llvm-project/pull/74999 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BPF][GlobalISel] add initial gisel support for BPF (PR #74999)

2023-12-10 Thread Yingchi Long via llvm-branch-commits
https://github.com/inclyc created https://github.com/llvm/llvm-project/pull/74999 This adds initial codegen support for BPF backend. Only implemented ir-translator for "RET" (but not support isel). Depends on: #74998 >From 5549edd4862b6242c41df44a40a23adfa245ddb1 Mon Sep 17 00:00:00 2001 From

[llvm-branch-commits] [llvm] [BPF] expand cttz, ctlz for i32, i64 (PR #73668)

2023-12-09 Thread Yingchi Long via llvm-branch-commits
https://github.com/inclyc updated https://github.com/llvm/llvm-project/pull/73668 >From c9afc897d51cf7ec93d7d5f7a43ed53346bb282d Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Wed, 29 Nov 2023 00:23:49 +0800 Subject: [PATCH] [BPF] expand cttz, ctlz for i32, i64 Fixes: https://github.com/llv

[llvm-branch-commits] [llvm] [BPF] expand cttz, ctlz for i32, i64 (PR #73668)

2023-11-28 Thread Yingchi Long via llvm-branch-commits
https://github.com/inclyc created https://github.com/llvm/llvm-project/pull/73668 Fixes: https://github.com/llvm/llvm-project/issues/62252 Depends on: #73667 >From bfdbfe517e0928e8dbc9fa736a9137c533cd899c Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Wed, 29 Nov 2023 00:23:49 +0800 Subje

[llvm-branch-commits] [llvm] c41b11a - [BPF] lowering target address leaf nodes (tconstpool, tblockaddr, tjumptable)

2023-11-28 Thread Yingchi Long via llvm-branch-commits
Author: Yingchi Long Date: 2023-11-29T00:19:18+08:00 New Revision: c41b11adba30a630832561200d7095be90b1515f URL: https://github.com/llvm/llvm-project/commit/c41b11adba30a630832561200d7095be90b1515f DIFF: https://github.com/llvm/llvm-project/commit/c41b11adba30a630832561200d7095be90b1515f.diff