On Wed, Jul 27, 2016 at 5:53 AM, Martin Storsjö <cfe-commits@lists.llvm.org> wrote:
> mstorsjo created this revision. > mstorsjo added a subscriber: cfe-commits. > Herald added subscribers: samparker, rengolin, aemerson. > > This test uses an immediate constant, which was previously broken in > inline assembly, prior to LLVM r276859. > > > https://reviews.llvm.org/D22857 > > Files: > test/CodeGen/arm-inline-asm-windows.c > > Index: test/CodeGen/arm-inline-asm-windows.c > =================================================================== > --- /dev/null > +++ test/CodeGen/arm-inline-asm-windows.c > @@ -0,0 +1,8 @@ > +// REQUIRES: arm-registered-target > +// RUN: %clang -target armv7-windows -c -o - %s > + > +int t1 (void) { > + int var; > + asm("mov %0, #42" : "=r"(var)); > Please use the portable spelling `__asm__`. > + return var; > +} > > How about a test for MS asm blocks? > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits > > -- Saleem Abdulrasool compnerd (at) compnerd (dot) org
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits