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

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 22:52:11 PST 2025


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

With the newer fix, I checked with bpf selftests, all tests passed.

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


More information about the llvm-commits mailing list