[PATCH] D131468: [WIP][BPF]: Force sign/zero extension for arguments in callee and return values in caller

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 00:16:16 PDT 2022


yonghong-song added a comment.

In D131468#3708977 <https://reviews.llvm.org/D131468#3708977>, @pengfei wrote:

> D124435 <https://reviews.llvm.org/D124435> is going to change the assumption :)

Thanks for the pointer. So looks like there is an effort to always do sign/zero-extension in callee. If the default is not to do extension in callee, we could change default value in BPF related codes, or we could implement bpf target specific code like this patch.

I guess I only need to focus on the func return value for now which is my focus any way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131468



More information about the cfe-commits mailing list