Ahmed Bougacha
9677cc6fb7
[TLI] Robustize SDAG LibFunc proto checking by merging it into TLI.
...
This re-applies commit r292189, reverted in r292191.
SelectionDAGBuilder recognizes libfuncs using some homegrown
parameter type-checking.
Use TLI instead, removing another heap of redundant code.
This isn't strictly NFC, as the SDAG code was too lax.
Concretely, this means changes are required to a few tests:
- calling a non-variadic function via a variadic prototype isn't OK;
it just happens to work on x86_64 (but not on, e.g., aarch64).
- mempcpy has a size_t parameter; the SDAG code accepts any integer
type, which meant using i32 on x86_64 worked.
- a handful of SystemZ tests check the SDAG support for lax prototype
checking: Ulrich agrees on removing them.
I don't think it's worth supporting any of these (IMO) invalid
testcases. Instead, fix them to be more meaningful.
llvm-svn: 294028
2017-02-03 19:11:19 +00:00
..
2016-04-15 17:24:40 +00:00
2016-04-19 23:51:52 +00:00
2016-06-27 15:55:30 +00:00
2016-08-18 21:44:15 +00:00
2016-06-09 15:19:16 +00:00
2016-06-13 14:24:05 +00:00
2016-06-13 14:24:05 +00:00
2017-01-11 19:55:19 +00:00
2016-04-04 12:45:44 +00:00
2016-04-04 12:45:44 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-05-05 00:37:30 +00:00
2016-04-07 16:11:44 +00:00
2016-10-19 16:58:59 +00:00
2016-05-16 20:32:22 +00:00
2016-05-16 20:32:22 +00:00
2016-04-20 01:03:48 +00:00
2016-04-08 17:22:19 +00:00
2016-04-11 12:12:32 +00:00
2016-04-29 19:53:16 +00:00
2016-04-29 19:53:16 +00:00
2016-05-10 16:49:04 +00:00
2016-11-28 13:34:08 +00:00
2016-10-25 15:39:15 +00:00
2016-11-28 13:34:08 +00:00
2016-11-28 13:34:08 +00:00
2016-11-28 13:34:08 +00:00
2016-11-28 13:34:08 +00:00
2017-01-11 19:55:19 +00:00
2017-01-11 19:55:19 +00:00
2017-01-11 19:55:19 +00:00
2017-01-11 19:55:19 +00:00
2017-01-11 19:55:19 +00:00
2017-01-11 19:55:19 +00:00
2016-11-28 13:34:08 +00:00
2016-11-28 13:34:08 +00:00
2016-05-04 23:31:26 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2017-01-30 17:57:28 +00:00
2016-08-08 18:11:13 +00:00
2016-05-18 13:24:57 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-12-02 18:21:53 +00:00
2016-07-20 00:21:32 +00:00
2016-07-20 00:21:32 +00:00
2016-07-20 00:21:32 +00:00
2016-07-20 00:21:32 +00:00
2016-04-04 12:44:55 +00:00
2016-04-07 16:11:44 +00:00
2016-05-10 08:09:37 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2017-01-11 19:55:19 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2017-01-11 19:55:19 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2017-01-31 23:48:32 +00:00
2016-04-07 16:11:44 +00:00
2016-04-07 16:11:44 +00:00
2017-01-11 19:55:19 +00:00
2016-11-11 12:43:51 +00:00
2016-11-11 12:46:28 +00:00
2016-08-17 13:24:19 +00:00
2016-11-28 13:40:08 +00:00
2017-02-03 11:14:39 +00:00
2017-02-03 19:11:19 +00:00
2016-06-17 20:24:07 +00:00
2016-04-07 16:11:44 +00:00
2016-06-17 20:24:07 +00:00
2016-06-23 21:18:59 +00:00
2017-01-30 18:29:46 +00:00
2016-04-04 12:44:55 +00:00
2016-10-19 16:58:59 +00:00
2016-06-22 16:16:27 +00:00
2016-07-06 18:13:11 +00:00
2016-07-06 18:13:11 +00:00
2016-10-19 16:58:59 +00:00
2016-08-18 18:04:26 +00:00
2016-07-06 18:13:11 +00:00
2016-04-24 13:57:49 +00:00
2016-04-07 16:11:44 +00:00
2016-06-17 20:24:07 +00:00
2016-06-17 20:24:07 +00:00
2016-06-17 20:24:07 +00:00
2016-10-12 13:44:24 +00:00
2016-10-07 22:06:55 +00:00
2016-04-28 00:17:23 +00:00
2016-07-10 14:41:22 +00:00
2016-07-10 14:41:22 +00:00
2016-07-10 14:41:22 +00:00
2016-07-10 14:41:22 +00:00
2016-07-10 14:41:22 +00:00
2017-01-11 19:55:19 +00:00
2016-06-10 19:58:10 +00:00
2016-11-11 12:48:26 +00:00
2016-11-28 13:59:22 +00:00
2016-11-28 13:59:22 +00:00
2016-11-28 13:59:22 +00:00
2017-02-02 18:24:55 +00:00
2017-01-18 11:40:28 +00:00
2016-10-20 08:27:16 +00:00
2016-06-30 07:13:56 +00:00
2016-04-07 16:11:44 +00:00
2016-10-20 08:27:16 +00:00
2016-09-28 06:13:58 +00:00
2017-01-27 07:46:26 +00:00
2017-01-27 07:46:26 +00:00