View in Telegram
lycwww
哎,想支持 memcpy 到 BPF ,结果发现生成 loop 过不去 verifier
https://github.com/llvm/llvm-project/pull/97648
BPF backend 经常大战 verifier ,原因是 kernel 需要很多年才会更新,而 llvm 中端优化过后 verifier 就不认识了
https://github.com/llvm/llvm-project/pull/97073
GitHub
[BPF] expand mem intrinsics (memcpy, memmove, memset) by inclyc · Pull Request #97648 · llvm/llvm-project
Declare that we do not support these "RTLIB" symbols. Thus PreISel pass could handle it.
Also removes warn-call.ll because we will generate loop for memintrins.
Fixes: #93700
Share
Love Center - Dating, Friends & Matches, NY, LA, Dubai, Global
Find friends or serious relationships easily
Start