[PATCH] D96448: BPF: Implement TTI.IntImmCost() properly

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 19:58:21 PST 2021


yonghong-song added a comment.

In D96448#2555163 <https://reviews.llvm.org/D96448#2555163>, @tstellar wrote:

> I get concerned when I see us having to disable optimizations to fix bugs.  Is there any kind of long-term plan to make the kernel verifier able to accept what LLVM produces or will we always be chasing after failures like this?

I just made the changes, not to disable optimizations, rather implements proper callbacks, which also fixed the issue.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96448/new/

https://reviews.llvm.org/D96448



More information about the llvm-commits mailing list