https://bugs.llvm.org/show_bug.cgi?id=34165

Manoj Gupta <manojgu...@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |manojgu...@google.com
         Resolution|FIXED                       |---

--- Comment #10 from Manoj Gupta <manojgu...@google.com> ---
Breaks GCC compatibility:

Test:
  void fn(int fd, int arg)
  {
    register int r7 __asm__("r7") = 54;
    __asm__ __volatile__ ( "svc 0" : : "r"(r7), "r"(fd), "r"(arg) : "memory");
  }

Compiler args:
-march=armv7-a -mthumb -mfloat-abi=soft -O2

https://godbolt.org/z/wP8_ic

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to