Michael Liao a6b20ced76 Fix PR10475
- ISD::SHL/SRL/SRA must have either both scalar or both vector operands
  but TLI.getShiftAmountTy() so far only return scalar type. As a
  result, backend logic assuming that breaks.
- Rename the original TLI.getShiftAmountTy() to
  TLI.getScalarShiftAmountTy() and re-define TLI.getShiftAmountTy() to
  return target-specificed scalar type or the same vector type as the
  1st operand.
- Fix most TICG logic assuming TLI.getShiftAmountTy() a simple scalar
  type.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176364 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-01 18:40:30 +00:00
..
2012-11-12 06:49:17 +00:00
2012-10-25 17:50:05 +00:00
2013-01-20 08:35:56 +00:00
2013-02-16 12:16:56 +00:00
2013-02-02 00:22:03 +00:00
2013-02-26 18:39:31 +00:00
2013-03-01 18:40:30 +00:00
2013-02-25 23:01:03 +00:00
2012-10-29 17:57:12 +00:00
2013-02-12 16:07:27 +00:00
2013-02-20 18:04:21 +00:00
2012-12-02 15:46:02 +00:00
2013-01-08 18:27:24 +00:00
2012-11-08 07:28:54 +00:00
2013-01-08 18:27:24 +00:00
2013-02-19 17:11:48 +00:00
2013-01-09 07:04:23 +00:00
2012-10-25 17:50:05 +00:00
2012-10-25 17:50:05 +00:00