Jonas Paulsson
38342a5185
[DAGCombiner] Don't allow addcarry if the carry producer is illegal.
...
getAsCarry() checks that the input argument is a carry-producing node before
allowing a transformation to addcarry. This patch adds a check to make sure
that the carry-producing node is legal. If it is not, it may not remain in a
form that is manageable by the target backend. The test case caused a
compilation failure during instruction selection for this reason on SystemZ.
Patch by Ulrich Weigand.
Review: Sanjay Patel
https://reviews.llvm.org/D59822
llvm-svn: 357052
2019-03-27 08:41:46 +00:00
..
2019-01-15 16:18:52 +00:00
2019-03-18 13:55:28 +00:00
2018-12-10 20:55:34 +00:00
2019-01-15 16:18:52 +00:00
2018-12-13 14:37:05 +00:00
2019-03-18 13:55:28 +00:00
2019-03-27 08:41:46 +00:00
2019-01-23 07:42:26 +00:00
2019-01-23 07:42:26 +00:00
2019-01-24 07:54:41 +00:00
2019-01-29 09:03:35 +00:00
2019-02-26 16:47:59 +00:00
2019-02-12 18:06:06 +00:00
2018-10-27 15:00:38 +00:00
2018-10-27 15:00:38 +00:00
2019-02-15 19:13:55 +00:00
2018-11-09 19:16:21 +00:00
2019-01-14 10:55:55 +00:00
2019-01-14 10:55:55 +00:00
2019-01-14 10:55:55 +00:00
2019-01-14 10:55:55 +00:00
2019-01-14 10:55:55 +00:00
2019-01-14 10:55:55 +00:00
2018-10-26 00:02:33 +00:00
2019-03-14 11:56:41 +00:00
2019-02-27 00:18:28 +00:00
2019-02-06 15:10:13 +00:00
2018-10-30 15:04:40 +00:00
2018-11-08 19:14:20 +00:00
2018-10-29 20:10:42 +00:00
2018-11-08 15:29:48 +00:00
2019-03-26 21:27:15 +00:00
2018-10-29 20:10:42 +00:00
2019-02-06 19:23:31 +00:00
2019-02-06 15:10:13 +00:00
2019-01-15 16:18:52 +00:00
2019-02-12 18:06:06 +00:00
2018-11-16 23:13:38 +00:00
2018-11-18 16:50:44 +00:00
2019-01-15 16:18:52 +00:00
2019-03-19 19:01:34 +00:00
2019-02-26 16:47:59 +00:00
2019-02-26 16:47:59 +00:00
2019-02-26 16:47:59 +00:00
2018-12-20 12:59:05 +00:00
2019-03-04 19:12:16 +00:00
2018-12-20 13:01:20 +00:00
2018-12-20 13:05:03 +00:00
2018-12-20 13:05:03 +00:00
2018-11-09 15:44:28 +00:00
2018-11-12 08:12:20 +00:00
2018-11-13 08:37:09 +00:00
2018-11-13 08:37:09 +00:00
2018-12-12 13:43:07 +00:00