[PATCH] D114216: [asm] Remove explicit branch for modifier 'l'

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 19 03:54:47 PST 2021


thakis added inline comments.


================
Comment at: llvm/test/CodeGen/AVR/inline-asm/inline-asm-invalid.ll:6
+  %i.addr = alloca i32, align 4
+  call void asm sideeffect "jl ${0:l}", "*m"(i32* %i.addr)
+
----------------
IR of this form can be emitted by clang for e.g. this (nonsensical) code:

```
void f(int i) { asm volatile("jmpl %0"::"m"(i):); }
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114216/new/

https://reviews.llvm.org/D114216



More information about the llvm-commits mailing list