[PATCH] D102118: [BPF] add support for 32 bit registers in inline asm

Alessandro Decina via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 8 17:52:29 PDT 2021


alessandrod created this revision.
Herald added a subscriber: hiraditya.
alessandrod requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

Add "w" constraint type which allows selecting 32 bit registers.

32 bit registers were added in https://reviews.llvm.org/rGca31c3bb3ff149850b664838fbbc7d40ce571879.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102118

Files:
  clang/lib/Basic/Targets/BPF.cpp
  clang/lib/Basic/Targets/BPF.h
  clang/test/CodeGen/bpf-inline-asm.c
  llvm/lib/Target/BPF/BPFISelLowering.cpp
  llvm/lib/Target/BPF/BPFISelLowering.h
  llvm/test/CodeGen/BPF/inlineasm-wreg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102118.343876.patch
Type: text/x-patch
Size: 5601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210509/85ab6a02/attachment.bin>


More information about the cfe-commits mailing list