Craig Topper 0229da8f07 [X86] Use GetDemandedBits to simplify the operands of PMULDQ/PMULUDQ.
This is an alternative to what I attempted in D56057.

GetDemandedBits is a special version of SimplifyDemandedBits that allows simplifications even when the operand has other uses. GetDemandedBits will only do simplifications that allow a node to be bypassed. It won't create new nodes or alter any of the other users.

I had to add support for bypassing SIGN_EXTEND_INREG to GetDemandedBits.

Based on a patch that Simon Pilgrim sent me in email.

Fixes PR40142.

llvm-svn: 350059
2018-12-24 19:40:20 +00:00
..
2018-04-07 19:50:09 +00:00
2018-11-23 20:05:12 +00:00
2018-02-28 22:57:23 +00:00
2018-11-16 19:35:00 +00:00
2018-10-26 23:50:23 +00:00
2018-10-26 23:50:23 +00:00
2018-10-15 05:31:24 +00:00
2018-01-14 19:07:41 +00:00
2018-10-26 12:33:56 +00:00
2018-02-06 18:18:49 +00:00
2018-12-21 17:06:43 +00:00
2018-07-23 20:19:10 +00:00
2018-08-30 06:01:05 +00:00
2018-04-13 11:37:06 +00:00
2018-11-27 15:52:17 +00:00
2018-02-11 13:12:50 +00:00
2018-08-30 06:01:05 +00:00
2018-01-08 13:21:24 +00:00
2018-01-17 22:19:31 +00:00
2018-05-10 07:26:05 +00:00
2018-05-10 07:26:05 +00:00
2018-01-19 12:05:58 +00:00