[llvm-bugs] [Bug 34165] Wrong code generation on arm/thumb2
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Tue Apr 28 09:23:05 PDT 2020
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=34165
Manoj Gupta <manojgupta at google.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |manojgupta at google.com
         Resolution|FIXED                       |---
--- Comment #10 from Manoj Gupta <manojgupta at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200428/175f200c/attachment.html>
    
    
More information about the llvm-bugs
mailing list