[Lldb-commits] [lldb] [flang] [llvm] [compiler-rt] [clang-tools-extra] [mlir] [libcxx] [clang] [libc] [AArch64] add intrinsic to generate a bfi instruction (PR #79672)

2024-01-29 Thread Rama Malladi via lldb-commits
RamaMalladiAWS wrote: > @RamaMalladiAWS Do you have examples of the IR that fails to lower to BFI? > These things often turn out to be either a missing middle-end > canonicalization or maybe a case that could be added to existing pattern > matching in the back-end. Yes, @RKSimon, I will try t

[Lldb-commits] [compiler-rt] [llvm] [libc] [flang] [clang] [clang-tools-extra] [lldb] [libcxx] [mlir] [AArch64] add intrinsic to generate a bfi instruction (PR #79672)

2024-01-29 Thread Rama Malladi via lldb-commits
RamaMalladiAWS wrote: > OK. We would not usually add intrinsics like this without a strong motivating > case, that could not be optimized in some other way. It is better to use > target independent options when available, and inline assembly is available > as a fallback if it is really needed.

[Lldb-commits] [libc] [lld] [llvm] [clang-tools-extra] [libcxx] [lldb] [clang] intrinsic to generate a bfi instruction (PR #79655)

2024-01-29 Thread Rama Malladi via lldb-commits
RamaMalladiAWS wrote: Thank you @DavidSpickett https://github.com/llvm/llvm-project/pull/79655 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [flang] [compiler-rt] [clang-tools-extra] [clang] [llvm] [libc] [lldb] [mlir] [libcxx] [AArch64] add intrinsic to generate a bfi instruction (PR #79672)

2024-01-28 Thread Rama Malladi via lldb-commits
RamaMalladiAWS wrote: > Hello. Can you explain why this is needed, as opposed to using the equivalent > shift/and/ors? Hi @davemgreen, one of AWS customers requested for such an intrinsic to be made available so that they could consume it their IR directly. The reasoning they had was to use 1

[Lldb-commits] [llvm] [mlir] [clang-tools-extra] [libcxx] [compiler-rt] [flang] [libc] [lldb] [clang] intrinsic to generate a bfi instruction (PR #79672)

2024-01-27 Thread Rama Malladi via lldb-commits
https://github.com/RamaMalladiAWS updated https://github.com/llvm/llvm-project/pull/79672 >From 1928947cf7563aea26bffd7a8f3603ade1ca31d6 Mon Sep 17 00:00:00 2001 From: Rama Malladi Date: Sat, 27 Jan 2024 02:11:47 + Subject: [PATCH] intrinsic to generate a bfi instruction BFI: Bit Field Ins

[Lldb-commits] [libcxx] [clang-tools-extra] [llvm] [clang] [libc] [lld] [lldb] intrinsic to generate a bfi instruction (PR #79655)

2024-01-26 Thread Rama Malladi via lldb-commits
RamaMalladiAWS wrote: Unable to get Windows build target machine allocated. Will reattempt another submission. https://github.com/llvm/llvm-project/pull/79655 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[Lldb-commits] [libc] [lld] [lldb] [libcxx] [llvm] [clang] [clang-tools-extra] intrinsic to generate a bfi instruction (PR #79655)

2024-01-26 Thread Rama Malladi via lldb-commits
https://github.com/RamaMalladiAWS closed https://github.com/llvm/llvm-project/pull/79655 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [clang-tools-extra] [lldb] [llvm] [lld] [libc] [clang] intrinsic to generate a bfi instruction (PR #79655)

2024-01-26 Thread Rama Malladi via lldb-commits
https://github.com/RamaMalladiAWS updated https://github.com/llvm/llvm-project/pull/79655 >From 96aba7076392fb7f7479ec3a313ced5cfb714f81 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 26 Jan 2024 18:56:32 + Subject: [PATCH 1/2] intrinsic to generate a bfi instruction --- llvm/include/ll