[llvm] Treat ';' and '\n' as assembly instruction separators in collectAsmInstrs (PR #149365)
Rahman Lavaee via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 10:04:43 PDT 2025
================
@@ -7,10 +7,9 @@ define ptr @foo(ptr %Ptr) {
%Ptr.addr = alloca ptr, align 8
store ptr %Ptr, ptr %Ptr.addr, align 8
; CHECK: movq %rdi, -8(%rsp)
- %1 = tail call ptr asm "mov $1, $0\0A\09lea $2, $0", "=r,p,*m,~{dirflag},~{fpsr},~{flags}"(ptr %Ptr, ptr elementtype(ptr) %Ptr.addr)
----------------
rlavaee wrote:
Reverted the old tests. Just added a single comment int the inlining test.
https://github.com/llvm/llvm-project/pull/149365
More information about the llvm-commits
mailing list