r355670 - Add another test for r354937 that came up in PR40890
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 8 01:01:11 PST 2019
Author: hans
Date: Fri Mar 8 01:01:10 2019
New Revision: 355670
URL: http://llvm.org/viewvc/llvm-project?rev=355670&view=rev
Log:
Add another test for r354937 that came up in PR40890
Modified:
cfe/trunk/test/CodeGen/x86-64-inline-asm.c
Modified: cfe/trunk/test/CodeGen/x86-64-inline-asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/x86-64-inline-asm.c?rev=355670&r1=355669&r2=355670&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/x86-64-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/x86-64-inline-asm.c Fri Mar 8 01:01:10 2019
@@ -24,9 +24,11 @@ void pr40890(void) {
__asm__ __volatile__("\n#define S_A abcd%0\n" : : "n"(&((struct s*)0)->a));
__asm__ __volatile__("\n#define S_B abcd%0\n" : : "n"(&((struct s*)0)->b));
__asm__ __volatile__("\n#define BEEF abcd%0\n" : : "n"((int*)0xdeadbeeeeeef));
+ __asm__ __volatile__("movabsq %0, %%rax" : : "n"(4624529908474429119));
// CHECK-LABEL: pr40890
// CHECK: #define S_A abcd$0
// CHECK: #define S_B abcd$4
// CHECK: #define BEEF abcd$244837814038255
+// CHECK: movabsq $4624529908474429119, %rax
}
More information about the cfe-commits
mailing list