[all-commits] [llvm/llvm-project] a4796b: [ARM] Emit error message when incompatible reg is ...
eleviant via All-commits
all-commits at lists.llvm.org
Thu Jul 24 10:19:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4796b14fcf3bf2749dcb90b5c870140f1a82f78
https://github.com/llvm/llvm-project/commit/a4796b14fcf3bf2749dcb90b5c870140f1a82f78
Author: eleviant <56861949+eleviant at users.noreply.github.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
A llvm/test/CodeGen/ARM/bad-constraint.ll
A llvm/test/CodeGen/ARM/inlineasm-int-to-float.ll
Log Message:
-----------
[ARM] Emit error message when incompatible reg is specified (#147559)
At the moment the following piece of code causes undefined behavior:
```
int a;
void b() {
register float d2 asm("d2") = a;
asm("" ::"r"(d2));
}
```
This happens because variable and register types are incompatible.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list