Louis Gerbarg
a564159d85
Fix illegal relocations in X86FastISel
...
On x86_86 the lea instruction can only use a 32 bit immediate value. When
the code is compiled statically the RIP register is not used, meaning the
immediate is all that can be used for the relocation, which is not sufficient
in the case of targets more than +/- 2GB away. This patch bails out of fast
isel in those cases and reverts to DAG which does the right thing.
Test case included.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211040 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-16 17:35:40 +00:00
..
2014-06-09 22:42:55 +00:00
2014-05-28 18:15:43 +00:00
2014-05-16 18:26:53 +00:00
2014-06-13 14:24:07 +00:00
2014-06-13 22:18:23 +00:00
2014-06-09 14:20:23 +00:00
2014-06-09 12:32:53 +00:00
2014-06-03 02:41:57 +00:00
2014-06-03 21:01:39 +00:00
2014-06-13 14:24:07 +00:00
2014-06-13 14:24:07 +00:00
2014-05-20 19:25:04 +00:00
2014-05-27 03:42:20 +00:00
2014-05-31 00:52:23 +00:00
2014-05-12 07:18:51 +00:00
2014-06-16 14:12:28 +00:00
2014-04-29 09:09:15 +00:00
2014-05-31 00:52:23 +00:00
2014-05-29 23:35:36 +00:00
2014-06-06 18:07:06 +00:00
2014-05-19 19:45:57 +00:00
2014-05-21 22:00:39 +00:00
2014-05-20 09:42:31 +00:00
2014-05-05 16:47:07 +00:00
2014-06-06 21:08:55 +00:00
2014-06-13 17:29:39 +00:00
2014-06-13 17:29:39 +00:00
2014-06-13 14:24:07 +00:00
2014-05-13 15:42:45 +00:00
2014-05-30 23:17:53 +00:00
2014-05-15 15:18:15 +00:00
2014-05-15 15:18:15 +00:00
2014-05-30 21:31:21 +00:00
2014-05-08 17:44:04 +00:00
2014-05-15 15:45:31 +00:00
2014-05-30 15:00:45 +00:00
2014-05-05 18:10:15 +00:00
2014-06-12 16:04:47 +00:00
2014-05-12 18:04:06 +00:00
2014-06-03 02:41:57 +00:00
2014-05-26 04:08:51 +00:00
2014-06-13 12:05:06 +00:00
2014-06-12 20:12:34 +00:00
2014-06-13 00:45:11 +00:00
2014-06-12 23:27:57 +00:00
2014-06-13 02:21:58 +00:00
2014-05-07 22:52:58 +00:00
2014-05-19 19:45:57 +00:00
2014-06-12 03:29:29 +00:00
2014-05-23 19:06:44 +00:00
2014-05-20 21:25:34 +00:00
2014-06-12 10:53:48 +00:00
2014-06-02 16:00:27 +00:00
2014-04-29 10:06:10 +00:00
2014-06-05 19:29:43 +00:00
2014-06-05 19:29:43 +00:00
2014-06-05 19:29:43 +00:00
2014-06-09 22:42:55 +00:00
2014-05-14 21:14:37 +00:00
2014-05-30 23:17:53 +00:00
2014-05-19 20:38:59 +00:00
2014-05-20 19:25:04 +00:00
2014-05-06 01:20:42 +00:00
2014-04-29 23:55:41 +00:00
2014-04-29 23:55:41 +00:00
2014-04-29 23:55:41 +00:00
2014-05-06 16:51:25 +00:00
2014-05-06 16:51:25 +00:00
2014-05-14 16:14:45 +00:00
2014-04-30 19:17:32 +00:00
2014-05-22 16:21:39 +00:00
2014-05-22 13:03:43 +00:00
2014-06-11 23:11:02 +00:00
2014-05-12 13:12:08 +00:00
2014-05-17 03:29:20 +00:00
2014-05-31 00:52:23 +00:00
2014-06-06 18:07:06 +00:00
2014-05-19 23:16:19 +00:00
2014-06-12 03:29:26 +00:00
2014-05-20 17:40:03 +00:00
2014-05-29 01:42:45 +00:00
2014-05-02 12:35:22 +00:00
2014-05-30 23:03:11 +00:00
2014-05-09 22:32:13 +00:00
2014-06-07 21:23:09 +00:00
2014-05-12 22:01:27 +00:00
2014-06-16 17:35:40 +00:00
2014-05-29 23:52:53 +00:00
2014-06-10 23:52:44 +00:00