Pengcheng Wang
Pengcheng Wang
Ping for comments.
> No, there is no plan to add such a feature. If so, then there is no meaning for `getcpu` in vDSO, which may cause some performance issues compared to...
This issue has already been fixed in 9d22b54d6b214e174b786316ccc9308aa7dd7be3.
> The behavior is indeed quite weird, but how could that be a problem with the cachelines or prefetcher? Shouldn't the CPU be easily able to hold 16 cache lines,...
Have you ever tried the target extension type yet? * https://reviews.llvm.org/D135202 * https://discourse.llvm.org/t/rfc-adding-opaque-types-to-llvm-ir/ * https://reviews.llvm.org/D141899
> > Have you ever tried the target extension type yet? > > > > * https://reviews.llvm.org/D135202 > > * https://discourse.llvm.org/t/rfc-adding-opaque-types-to-llvm-ir/ > > * https://reviews.llvm.org/D141899 > > Is there any...
We are using multiply here because this is the default expanding of `ISD::CTPOP`. https://github.com/llvm/llvm-project/blob/72c729f354d71697a1402720c90b57ff521b6739/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp#L8653-L8718 We may need custom lowering of `ISD::CTPOP` when there is no `m` and `Zbb`.
> > We are using multiply here because this is the default expanding of `ISD::CTPOP`. > > https://github.com/llvm/llvm-project/blob/72c729f354d71697a1402720c90b57ff521b6739/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp#L8653-L8718 > > > > We may need custom lowering of `ISD::CTPOP` when...
When materializing constants, we can't know its context and it's hard to know the connection of constants. The solution may be using your formulas instead of using APInt directly here:...
cc @4a6f656c