Issue 177568
Summary [ValueTracking] computeKnownBitsFromOperator - should we move target intrinsic handling into target hooks?
Labels llvm:instcombine, llvm:analysis
Assignees
Reporter RKSimon
    computeKnownBitsFromOperator currently handles a number of x86/riscv intrinsics and I'm intending to add handling for more x86 intrinsics in the coming months.

Before this work begins, should we instead move to a TTI hook, similar to what we do with X86TTIImpl::simplifyDemandedUseBitsIntrinsic etc?

At the moment x86 intrinsic constant folding is spread out across computeKnownBitsFromOperator / simplifyDemandedUseBitsIntrinsic / instCombineIntrinsic :(

CC @nikic @dtcxzyw 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to