Nick Desaulniers
b3cb8ab451
[AsmPrinter] refactor to support %c w/ GlobalAddress'
...
Summary:
Targets like ARM, MSP430, PPC, and SystemZ have complex behavior when
printing the address of a MachineOperand::MO_GlobalAddress. Move that
handling into a new overriden method in each base class. A virtual
method was added to the base class for handling the generic case.
Refactors a few subclasses to support the target independent %a, %c, and
%n.
The patch also contains small cleanups for AVRAsmPrinter and
SystemZAsmPrinter.
It seems that NVPTXTargetLowering is possibly missing some logic to
transform GlobalAddressSDNodes for
TargetLowering::LowerAsmOperandForConstraint to handle with "i" extended
inline assembly asm constraints.
Fixes:
- https://bugs.llvm.org/show_bug.cgi?id=41402
- https://github.com/ClangBuiltLinux/linux/issues/449
Reviewers: echristo, void
Reviewed By: void
Subscribers: void, craig.topper, jholewinski, dschuff, jyknight, dylanmckay, sdardis, nemanjai, javed.absar, sbc100, jgravelle-google, eraman, kristof.beyls, hiraditya, aheejin, kbarton, fedor.sergeev, jrtc27, atanasyan, jsji, llvm-commits, kees, tpimh, nathanchance, peter.smith, srhines
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60887
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359337 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-26 18:45:04 +00:00
..
2019-02-20 22:40:57 +00:00
2019-02-21 03:27:00 +00:00
2019-03-26 19:46:15 +00:00
2019-02-28 18:39:08 +00:00
2019-02-28 18:39:08 +00:00
2019-02-13 22:11:16 +00:00
2019-03-09 04:31:37 +00:00
2019-02-23 00:07:39 +00:00
2019-04-19 22:43:32 +00:00
2019-02-23 00:07:39 +00:00
2019-03-30 09:29:57 +00:00
2019-03-29 19:36:51 +00:00
2019-03-30 11:04:48 +00:00
2019-04-23 21:30:30 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-14 22:03:43 +00:00
2019-01-14 22:03:43 +00:00
2019-03-05 20:35:34 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2018-05-10 17:49:11 +00:00
2019-01-18 02:47:48 +00:00
2018-05-10 17:49:11 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2019-03-13 00:37:31 +00:00
2018-10-25 23:55:10 +00:00
2019-03-16 05:38:57 +00:00
2018-08-27 15:45:51 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2019-02-23 00:07:39 +00:00
2019-01-08 06:25:55 +00:00
2019-02-23 00:07:39 +00:00
2018-11-19 17:10:36 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-03-26 17:46:14 +00:00
2019-03-01 00:12:13 +00:00
2019-02-28 18:39:08 +00:00
2018-05-10 17:49:11 +00:00
2019-01-09 14:20:20 +00:00
2019-01-08 06:25:55 +00:00
2019-01-09 14:20:20 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2019-02-23 00:07:39 +00:00
2018-08-27 15:45:51 +00:00
2018-11-19 17:10:36 +00:00
2019-03-05 20:35:34 +00:00
2019-02-01 22:27:34 +00:00
2019-02-23 00:07:39 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-04-26 18:45:04 +00:00
2019-03-19 05:10:39 +00:00
2019-03-30 01:31:11 +00:00
2019-03-30 01:31:11 +00:00
2019-01-08 06:25:55 +00:00
2019-02-23 00:07:39 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2019-04-04 17:43:50 +00:00
2019-01-08 06:25:55 +00:00
2019-02-23 00:07:39 +00:00
2018-05-10 17:49:11 +00:00
2018-11-20 19:25:07 +00:00
2018-11-08 22:56:26 +00:00
2018-11-20 19:25:07 +00:00
2019-03-05 20:35:34 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-01-29 10:53:42 +00:00
2019-01-29 10:53:42 +00:00
2019-02-23 00:07:39 +00:00
2019-01-14 18:25:29 +00:00
2019-02-23 00:07:39 +00:00
2019-03-29 22:00:18 +00:00
2019-01-08 06:25:55 +00:00
2018-05-10 17:49:11 +00:00
2018-11-18 11:58:47 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2019-04-23 21:17:03 +00:00
2019-01-14 22:03:43 +00:00
2019-01-31 00:35:37 +00:00
2019-03-21 11:18:54 +00:00
2019-04-23 21:17:03 +00:00
2018-11-08 02:35:28 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 18:59:01 +00:00
2019-02-23 00:07:39 +00:00
2019-01-08 06:25:55 +00:00
2019-02-23 00:07:39 +00:00
2019-01-15 02:16:03 +00:00
2019-01-10 22:32:11 +00:00
2019-01-28 23:44:31 +00:00
2019-01-31 23:22:39 +00:00
2019-03-19 00:55:34 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2018-12-21 06:58:15 +00:00
2019-01-02 20:43:08 +00:00
2019-01-10 22:32:11 +00:00
2019-01-29 23:44:48 +00:00
2019-02-23 18:59:01 +00:00
2019-01-10 22:32:11 +00:00
2019-03-02 03:32:25 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2018-12-17 22:04:44 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2019-04-23 21:17:03 +00:00
2019-03-29 00:14:01 +00:00
2019-04-12 20:39:53 +00:00
2019-02-28 18:39:08 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-26 05:20:19 +00:00
2018-07-02 16:03:49 +00:00
2019-02-28 18:39:08 +00:00
2019-03-19 05:02:30 +00:00