[llvm] [BPF] Use 32-bit move for zero extension when possible (PR #77501)

Yingchi Long via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 01:07:00 PST 2024


================
@@ -0,0 +1,34 @@
+; RUN: llc -march=bpfel -mcpu=v3 --filetype=obj < %s | llvm-objdump -d - \
----------------
inclyc wrote:

why not emit assembly directly? e.g.

```diff
- RUN: llc -march=bpfel -mcpu=v3 --filetype=obj < %s
+ RUN: llc -march=bpfel -mcpu=v3 < %s
```


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


More information about the llvm-commits mailing list