Files
llvm-6502/test/CodeGen/X86
Benjamin Kramer 914f8c4825 When the legalizer is splitting vector shifts, the result may not have the right shift amount type.
Fix that by adding a cast to the shift expander. This came up with vector shifts
on sse-less X86 CPUs.

   <2 x i64>       = shl <2 x i64> <2 x i64>
-> i64,i64         = shl i64 i64; shl i64 i64
-> i32,i32,i32,i32 = shl_parts i32 i32 i64; shl_parts i32 i32 i64

Now we cast the last two i64s to the right type. Fixes the crash in PR14668.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173615 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-27 11:19:11 +00:00
..
2012-11-12 06:49:17 +00:00
2012-07-16 19:35:43 +00:00
2012-05-19 23:34:59 +00:00
2012-10-25 17:50:05 +00:00
2013-01-20 08:35:56 +00:00
2012-01-27 02:31:29 +00:00
2013-01-20 08:35:56 +00:00
2012-03-20 17:20:46 +00:00
2012-02-02 19:00:49 +00:00
2012-07-23 08:51:15 +00:00
2012-01-05 00:43:34 +00:00
2012-06-19 02:17:35 +00:00
2012-08-17 12:28:26 +00:00
2012-05-24 22:08:29 +00:00
2012-08-17 12:28:26 +00:00
2012-09-12 21:43:09 +00:00
2012-08-31 20:12:31 +00:00
2012-09-17 18:05:20 +00:00
2012-10-01 16:44:04 +00:00
2012-10-23 21:40:15 +00:00
2012-10-29 17:57:12 +00:00
2012-09-26 08:24:51 +00:00
2012-12-02 15:46:02 +00:00
2013-01-08 18:27:24 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-11-08 07:28:54 +00:00
2013-01-08 18:27:24 +00:00
2012-04-20 23:36:09 +00:00
2012-07-17 19:40:05 +00:00
2012-01-19 01:13:47 +00:00
2012-06-01 05:00:54 +00:00
2012-03-30 00:26:54 +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