Files
clang-p2996/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Dávid Ferenc Szabó e9eaf19eb6 [CodeGen] Allow mixed scalar type constraints for inline asm (#65465)
GCC supports code like "asm volatile ("" : "=r" (i) : "0" (f))" where i
is integer type and f is floating point type. Currently this code
produces an error with Clang. The change allows mixed scalar types
between input and output constraints.

Co-authored-by: Matt Arsenault <Matthew.Arsenault@amd.com>
2024-08-29 22:53:28 +04:00

472 KiB