[llvm] [BPF] Remove 'may_goto 0' instructions (PR #123482)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 13:52:45 PST 2025


================
@@ -682,6 +685,56 @@ bool BPFMIPreEmitPeephole::insertMissingCallerSavedSpills() {
   return Changed;
 }
 
+bool BPFMIPreEmitPeephole::removeMayGotoZero() {
----------------
eddyz87 wrote:

When I build BPF selftests with this patch I get the following error:
[cpuv4.error.log](https://github.com/user-attachments/files/18542254/cpuv4.error.log)


https://github.com/llvm/llvm-project/pull/123482


More information about the llvm-commits mailing list