[PATCH] D147078: [LICM][BPF] Disable hoistMinMax() optimization for BPF target

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 16:04:17 PDT 2023


yonghong-song added a comment.

cost model could be an option. I just updated a version based on previous 'flag' based approach. Also thanks @ast  for some clarification, for some transformations, due to bpf verifier uniqueness (verification of the code before executing them), some transformation might be unprofitable for bpf, so it could be great if we can have a simple way to declare a particular transformation not profitable.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147078



More information about the llvm-commits mailing list