Chad Rosier
274800025a
Fix typo.
...
llvm-svn: 179811
2013-04-18 23:12:05 +00:00
Chad Rosier
efd87c8f4b
Test cases for r179719.
...
llvm-svn: 179720
2013-04-17 21:02:39 +00:00
Chad Rosier
eb294538c3
Test cases for r179655.
...
llvm-svn: 179656
2013-04-17 00:12:09 +00:00
Chad Rosier
7181ed3346
Add test case for r179403.
...
llvm-svn: 179404
2013-04-12 19:52:07 +00:00
Chad Rosier
4a3b160d4f
Add test case for r179399.
...
llvm-svn: 179400
2013-04-12 18:54:40 +00:00
Chad Rosier
f8bcfbdd5f
Add test case for r179383 and r179393.
...
llvm-svn: 179394
2013-04-12 18:22:08 +00:00
Chad Rosier
ea1d1a2d05
[ms-inline asm] Move a few test cases from the 32-bit version to the 64-bit
...
version as lea is only available in 64-bit mode.
llvm-svn: 179190
2013-04-10 18:08:17 +00:00
Chad Rosier
e6956c3ec5
[ms-inline asm] Add a few test cases that were regressed by r179115. That
...
commit was reverted in r179120, but I do plan on reapplying with a fix shortly.
Part of rdar://13611297
llvm-svn: 179182
2013-04-10 16:33:34 +00:00
Chad Rosier
6bec4f9af3
Test case for r179030.
...
llvm-svn: 179031
2013-04-08 17:44:05 +00:00
Chad Rosier
26949f1345
Add test case for r178881.
...
llvm-svn: 178882
2013-04-05 16:29:17 +00:00
Chad Rosier
459d3ee1dd
Remove unnecessary attributes from test case.
...
llvm-svn: 178188
2013-03-27 21:54:09 +00:00
Chad Rosier
a0ef404973
Add a front-end test case for r178186.
...
llvm-svn: 178187
2013-03-27 21:50:39 +00:00
Chad Rosier
993bd120bc
Test case for r177439 and r177440.
...
llvm-svn: 177441
2013-03-19 21:12:57 +00:00
Chad Rosier
4f667e88d0
Update test for r177413.
...
llvm-svn: 177414
2013-03-19 17:32:36 +00:00
Chad Rosier
47abcf83a3
Test case for r177347.
...
llvm-svn: 177349
2013-03-18 23:32:33 +00:00
Chad Rosier
1ef5d51ade
Add a front-end test case for r176036.
...
llvm-svn: 176038
2013-02-25 19:13:23 +00:00
Bill Wendling
e1c4a1babd
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
...
llvm-svn: 175878
2013-02-22 09:10:20 +00:00
Chad Rosier
7ef6fd3402
[ms-inline asm] Remove this test while I investigate why eax isn't being clobbered.
...
llvm-svn: 175637
2013-02-20 17:39:31 +00:00
Chad Rosier
77d56be3f0
Add test case for r175312.
...
llvm-svn: 175313
2013-02-15 21:58:41 +00:00
Chad Rosier
5bdd8ed74d
[ms-inline asm] Add test case for r175083.
...
llvm-svn: 175084
2013-02-13 21:34:54 +00:00
Chad Rosier
8356d091bf
[ms-inline-asm] Test cases to ensure the AsmRewrite list is sorted (r175021).
...
Part of rdar://13202662
llvm-svn: 175022
2013-02-13 01:06:08 +00:00
Chad Rosier
3ea602cd30
[ms-inline-asm] Add test cases for the align/emit directives.
...
Part of rdar://13200215
llvm-svn: 175009
2013-02-12 21:34:14 +00:00
Chad Rosier
868d668e78
[ms-inline asm] Update test case now that we are correctly parsing __emit directives.
...
llvm-svn: 175000
2013-02-12 19:42:57 +00:00
Chad Rosier
e348d2724a
Typo.
...
llvm-svn: 174995
2013-02-12 19:15:05 +00:00
Chad Rosier
e90add40a9
[ms-inline asm] Add a few test cases for the parsing of hexidecimal integers.
...
llvm-svn: 174989
2013-02-12 18:45:21 +00:00
Chad Rosier
e3aac2c864
[ms-inline asm] Remove the -fenable-experimental-ms-inline-asm flag. MS-style
...
inline assembly can be enable with -fasm-blocks or -fms-extensions alone.
llvm-svn: 173186
2013-01-22 19:38:32 +00:00
Chad Rosier
e343bc83f0
[ms-inline asm] Updates and test case for r172743.
...
Part of rdar://12576868
llvm-svn: 172744
2013-01-17 19:22:48 +00:00
Chad Rosier
97b5895029
[ms-inline asm] Add test case for r172121.
...
Part of rdar://12991541
llvm-svn: 172122
2013-01-10 22:11:28 +00:00
Chad Rosier
d35ae732ac
[ms-inline asm] Add a test case for the offset operator where the operand is a
...
global variable.
llvm-svn: 171919
2013-01-08 23:51:48 +00:00
Chad Rosier
8f980ef08c
Test case for r171784.
...
llvm-svn: 171785
2013-01-07 20:34:40 +00:00
Chad Rosier
c8e56e8931
[driver, ms-inline asm] MS-Style inline assembly is controlled by the
...
-fasm-blocks flag, not the -fms-extensions flag.
rdar://12808010
llvm-svn: 169422
2012-12-05 21:08:21 +00:00
Chad Rosier
ed92815cb0
[ms-inline asm] Add more tests.
...
llvm-svn: 169411
2012-12-05 19:52:05 +00:00
Chad Rosier
0473d5429c
[ms-inline asm] Test case for r166790.
...
llvm-svn: 166791
2012-10-26 18:04:45 +00:00
Chad Rosier
77c8aca06a
[ms-inline asm] Add a test case for r166723 and r166724.
...
llvm-svn: 166725
2012-10-25 21:52:03 +00:00
Chad Rosier
602d09d0aa
[ms-inline asm] Test case for r166632.
...
llvm-svn: 166633
2012-10-24 22:22:12 +00:00
Chad Rosier
340c1ca0f3
[ms-inline asm] Add test cases for r166451.
...
llvm-svn: 166600
2012-10-24 17:48:01 +00:00
Chad Rosier
42146d9a06
[ms-inline asm] Add test cases for r166592. The test cases only works if the
...
source operand is a register.
llvm-svn: 166594
2012-10-24 17:23:06 +00:00
Chad Rosier
03c181b021
[ms-inline asm] Update the triple to test r166523.
...
llvm-svn: 166524
2012-10-23 23:32:21 +00:00
Chad Rosier
b8097dec8f
[ms-inline asm] Update for r166433.
...
llvm-svn: 166489
2012-10-23 17:44:40 +00:00
Eli Friedman
01e4d5937a
Testcase change for r166440.
...
llvm-svn: 166441
2012-10-22 20:50:45 +00:00
Chad Rosier
f7000f8c5b
[ms-inline asm] Test case for r166433.
...
llvm-svn: 166434
2012-10-22 19:43:17 +00:00
Chad Rosier
03c20e83b8
[ms-inline asm] Update test case for r166357.
...
llvm-svn: 166358
2012-10-20 00:47:32 +00:00
Chad Rosier
4e11eec116
[ms-inline asm] Test case for r166349 and r166352.
...
llvm-svn: 166353
2012-10-19 23:16:17 +00:00
Chad Rosier
81bf0e81e0
[ms-inline asm] Update testcase for r166316.
...
llvm-svn: 166317
2012-10-19 20:57:37 +00:00
Chad Rosier
14e0bb54a5
[ms-inline asm] Revert accidental commit. Sorry for the churn.
...
llvm-svn: 166312
2012-10-19 20:38:09 +00:00
Chad Rosier
46d8fc9d6b
[ms-inline asm] Set the SemaCallback in the TargetAsmParser.
...
llvm-svn: 166310
2012-10-19 20:36:37 +00:00
Chad Rosier
0eea516789
[ms-inline asm] Remove accidental commit.
...
llvm-svn: 166193
2012-10-18 17:51:43 +00:00
Chad Rosier
ce2bcbf8c0
[ms-inline asm] Move most of the AsmParsing logic in clang back into the MC
...
layer. Use the new ParseMSInlineAsm() API and add an implementation of the
MCAsmParserSemaCallback interface.
llvm-svn: 166184
2012-10-18 15:49:40 +00:00
Chad Rosier
4a0054f383
[ms-inline asm] Rework the front-end to use the API introduced in r165946.
...
-The front-end now builds a single assembly string and feeds it to the
AsmParser. The front-end iterates on a per statement basis by calling the
ParseStatement() function. Please note, the calling of ParseStatement() and
and any notion of MCAsmParsedOperands will be sunk into the MC layer in the
near future. I plan to expose more basic APIs such as getClobbers, etc.
-The enumeration of the AsmString expressions have been reworked to use SMLocs
rather than assembly Pieces, which were being parsed in the front-end.
-The test case, t8(), was modified due to r129223. I'll have to find a way to
work around things such as these.
Sorry for the large commit, but breaking this in multiple smaller commits proved
too irritating.
llvm-svn: 165957
2012-10-15 19:56:10 +00:00
Chad Rosier
941faac455
[ms-inline asm] Remove a bunch of parsing code from the front-end, which will be
...
reimplemented in the AsmParser where it belongs.
llvm-svn: 165825
2012-10-12 21:37:00 +00:00