[llvm-dev] BPFTargetLowering missing custom implementation?

Jack May via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 18 12:58:02 PST 2019

In BPFISelLowering.cpp the OperationAction for `CTTZ`, `CTLZ`,
`CTTZ_ZERO_UNDEF`, and `CTLZ_ZERO_UNDEF` are set to `Custom` but
`BPFTargetLowering::LowerOperation` is missing a case for them.

This will cause an assert if these Operations are ever used with BPF?  Is
this intended?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190118/17d0da0a/attachment.html>

More information about the llvm-dev mailing list