[llvm] [WebAssembly] [Backend] Draft pull request for #129441 (PR #145108)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 21 09:40:01 PDT 2025
badumbatish wrote:
> > I'm unsure why the hook for AND is not triggered when there are AND nodes as input to SelectionDAG.
>
> For the generic DAG nodes like ISD::AND you need to tell SelectionDAG that your target wants to perform custom combines on them by calling `setTargetDAGCombine(ISD::AND);` somewhere in the `WebAssemblyTargetLowering` constructor. Does that fix what you're seeing?
it works now! thank you!
https://github.com/llvm/llvm-project/pull/145108
More information about the llvm-commits
mailing list