OSDN Git Service

android-x86/external-llvm.git
10 years agoam 89e15a67: am 92e3f69b: Merge "Revert "Make LLVM compile with prebuilt clang.""
Tim Murray [Wed, 2 Apr 2014 19:22:24 +0000 (19:22 +0000)]
am 89e15a67: am 92e3f69b: Merge "Revert "Make LLVM compile with prebuilt clang.""

* commit '89e15a6792706edc12fc66995a1413bca8257686':
  Revert "Make LLVM compile with prebuilt clang."

10 years agoam 92e3f69b: Merge "Revert "Make LLVM compile with prebuilt clang.""
Tim Murray [Wed, 2 Apr 2014 19:18:44 +0000 (19:18 +0000)]
am 92e3f69b: Merge "Revert "Make LLVM compile with prebuilt clang.""

* commit '92e3f69b3f498f1d48e1f31d72fc7205b781ed45':
  Revert "Make LLVM compile with prebuilt clang."

10 years agoMerge "Revert "Make LLVM compile with prebuilt clang.""
Tim Murray [Wed, 2 Apr 2014 19:13:19 +0000 (19:13 +0000)]
Merge "Revert "Make LLVM compile with prebuilt clang.""

10 years agoRevert "Make LLVM compile with prebuilt clang."
Tim Murray [Wed, 2 Apr 2014 18:32:07 +0000 (18:32 +0000)]
Revert "Make LLVM compile with prebuilt clang."

This reverts commit 7d8cea6e8e2bddaa4475835106bf88d214d95279.

Change-Id: Ide81c8f7662646070481edb9f3196a0d9152adc2

10 years agoam 8b453e21: am 8c517664: Merge "Make LLVM compile with prebuilt clang."
Tim Murray [Tue, 1 Apr 2014 23:41:14 +0000 (23:41 +0000)]
am 8b453e21: am 8c517664: Merge "Make LLVM compile with prebuilt clang."

* commit '8b453e21d7e4c159d2bd44ac1fc4f03fe620269e':
  Make LLVM compile with prebuilt clang.

10 years agoam 8c517664: Merge "Make LLVM compile with prebuilt clang."
Tim Murray [Tue, 1 Apr 2014 23:35:27 +0000 (23:35 +0000)]
am 8c517664: Merge "Make LLVM compile with prebuilt clang."

* commit '8c517664df4a2ea1770d77cfee9254d3d13ee5a9':
  Make LLVM compile with prebuilt clang.

10 years agoMerge "Make LLVM compile with prebuilt clang."
Tim Murray [Tue, 1 Apr 2014 23:30:17 +0000 (23:30 +0000)]
Merge "Make LLVM compile with prebuilt clang."

10 years agoMake LLVM compile with prebuilt clang.
Tim Murray [Fri, 21 Mar 2014 22:39:46 +0000 (15:39 -0700)]
Make LLVM compile with prebuilt clang.

bug 13588226

Change-Id: I278371c48b8da811a4bdb1be99bfe6474b0d525a

10 years agoam 15492aa7: am 4afc3292: Merge "Enable x86_64 build"
Tim Murray [Mon, 17 Mar 2014 18:46:10 +0000 (18:46 +0000)]
am 15492aa7: am 4afc3292: Merge "Enable x86_64 build"

* commit '15492aa781bfda21531c05562e138e16657d37b9':
  Enable x86_64 build

10 years agoam 4afc3292: Merge "Enable x86_64 build"
Tim Murray [Mon, 17 Mar 2014 18:43:04 +0000 (11:43 -0700)]
am 4afc3292: Merge "Enable x86_64 build"

* commit '4afc3292eec5c576c091dee244b92bc60f61f692':
  Enable x86_64 build

10 years agoMerge "Enable x86_64 build"
Tim Murray [Mon, 17 Mar 2014 18:38:02 +0000 (18:38 +0000)]
Merge "Enable x86_64 build"

10 years agoEnable x86_64 build
Yang Gu [Fri, 14 Mar 2014 08:46:16 +0000 (16:46 +0800)]
Enable x86_64 build

Change-Id: I9feecd151ab91351c42e230df4eb3aa3af76799a

10 years agoam 91cda01e: am d3e2a437: Merge "Make LLVM build on AArch64."
Tim Murray [Sat, 15 Mar 2014 00:28:48 +0000 (00:28 +0000)]
am 91cda01e: am d3e2a437: Merge "Make LLVM build on AArch64."

* commit '91cda01e1343429d296a9cdd46e13d64c988d525':
  Make LLVM build on AArch64.

10 years agoam d3e2a437: Merge "Make LLVM build on AArch64."
Tim Murray [Sat, 15 Mar 2014 00:24:41 +0000 (17:24 -0700)]
am d3e2a437: Merge "Make LLVM build on AArch64."

* commit 'd3e2a43715e865c6f55f748652a9b29624ea1aab':
  Make LLVM build on AArch64.

10 years agoMerge "Make LLVM build on AArch64."
Tim Murray [Sat, 15 Mar 2014 00:18:39 +0000 (00:18 +0000)]
Merge "Make LLVM build on AArch64."

10 years agoMake LLVM build on AArch64.
Tim Murray [Fri, 7 Mar 2014 21:15:57 +0000 (13:15 -0800)]
Make LLVM build on AArch64.

bug 13343378

Change-Id: I4152d2437a144645fa0b5a425b7bfdcb3a2a5594

10 years agoam 0f9fcaae: am 130045ba: Merge "Avoid redefinition of __STDC_CONSTANT_MACROS."
Ian Rogers [Tue, 11 Mar 2014 23:14:57 +0000 (23:14 +0000)]
am 0f9fcaae: am 130045ba: Merge "Avoid redefinition of __STDC_CONSTANT_MACROS."

* commit '0f9fcaae9798d616aa14c2f85faa3eec28ee1da2':
  Avoid redefinition of __STDC_CONSTANT_MACROS.

10 years agoam 130045ba: Merge "Avoid redefinition of __STDC_CONSTANT_MACROS."
Ian Rogers [Tue, 11 Mar 2014 19:21:05 +0000 (12:21 -0700)]
am 130045ba: Merge "Avoid redefinition of __STDC_CONSTANT_MACROS."

* commit '130045bafb1899ab3ba3a4eab679a7df08321796':
  Avoid redefinition of __STDC_CONSTANT_MACROS.

10 years agoMerge "Avoid redefinition of __STDC_CONSTANT_MACROS."
Ian Rogers [Tue, 11 Mar 2014 17:57:42 +0000 (17:57 +0000)]
Merge "Avoid redefinition of __STDC_CONSTANT_MACROS."

10 years agoAvoid redefinition of __STDC_CONSTANT_MACROS.
Ian Rogers [Tue, 11 Mar 2014 06:37:01 +0000 (23:37 -0700)]
Avoid redefinition of __STDC_CONSTANT_MACROS.

(cherry picked from 5c97ecc017eb90037ab8a2cf8ff7066982bb2c50)

Change-Id: I5cf69b6197f8d1ff0f0f4bfa589c82b36d1513f4

10 years agoam 3183a4b8: am 4829c014: Merge "x86_64 isn\'t a currently supported LLVM architectur...
Elliott Hughes [Wed, 26 Feb 2014 03:32:07 +0000 (03:32 +0000)]
am 3183a4b8: am 4829c014: Merge "x86_64 isn\'t a currently supported LLVM architecture in our build system."

* commit '3183a4b8b8f277aab18269c69e8a0f282aedad77':
  x86_64 isn't a currently supported LLVM architecture in our build system.

10 years agoam 4829c014: Merge "x86_64 isn\'t a currently supported LLVM architecture in our...
Elliott Hughes [Wed, 26 Feb 2014 03:28:59 +0000 (19:28 -0800)]
am 4829c014: Merge "x86_64 isn\'t a currently supported LLVM architecture in our build system."

* commit '4829c01414b9cf2c9cdb0a5c296e728b6c43bc99':
  x86_64 isn't a currently supported LLVM architecture in our build system.

10 years agoMerge "x86_64 isn't a currently supported LLVM architecture in our build system."
Elliott Hughes [Wed, 26 Feb 2014 03:25:59 +0000 (03:25 +0000)]
Merge "x86_64 isn't a currently supported LLVM architecture in our build system."

10 years agox86_64 isn't a currently supported LLVM architecture in our build system.
Elliott Hughes [Wed, 26 Feb 2014 01:25:50 +0000 (17:25 -0800)]
x86_64 isn't a currently supported LLVM architecture in our build system.

These build failures stand in the way of an x86_64 continuous build.

Change-Id: I8de24ca838616c687b28945415ef5b15dadda887

10 years agoam 9fedb398: am bd3e4ce9: am b7485134: am 449fc261: Merge "llvm: convert makefiles...
Colin Cross [Sat, 22 Feb 2014 00:40:26 +0000 (00:40 +0000)]
am 9fedb398: am bd3e4ce9: am b7485134: am 449fc261: Merge "llvm: convert makefiles to support multilib build"

* commit '9fedb398dcf64fcaeb9ed524d70a9ee678b5cf83':

10 years agoam 3fb031f5: am cfe73f37: Fix Windows configuration for LLVM 3.4.
Stephen Hines [Sat, 22 Feb 2014 00:40:25 +0000 (00:40 +0000)]
am 3fb031f5: am cfe73f37: Fix Windows configuration for LLVM 3.4.

* commit '3fb031f524f55c1497994b92ad21397bb87e303b':
  Fix Windows configuration for LLVM 3.4.

10 years agoam df51e525: am 4d459ec2: Don\'t build DFSan functionality for Android.
Stephen Hines [Sat, 22 Feb 2014 00:40:24 +0000 (00:40 +0000)]
am df51e525: am 4d459ec2: Don\'t build DFSan functionality for Android.

* commit 'df51e525f1fc57a405bc80dd0c2fe593839deded':
  Don't build DFSan functionality for Android.

10 years agoam f8f49b49: am 373aa5c6: Update LLVM for merge to 3.4.
Stephen Hines [Sat, 22 Feb 2014 00:40:23 +0000 (00:40 +0000)]
am f8f49b49: am 373aa5c6: Update LLVM for merge to 3.4.

* commit 'f8f49b49d3d2507de9e8e2d057aced73e95ace51':
  Update LLVM for merge to 3.4.

10 years agoam 008f5bfe: am ce9904c6: Merge remote-tracking branch \'upstream/release_34\' into...
Stephen Hines [Sat, 22 Feb 2014 00:40:19 +0000 (00:40 +0000)]
am 008f5bfe: am ce9904c6: Merge remote-tracking branch \'upstream/release_34\' into merge-20140211

* commit '008f5bfe7c33a9fe53e3ffddd08e820195c8b60b': (3284 commits)
  Merging r197483: ------------------------------------------------------------------------ r197483 | yrnkrn | 2013-12-17 00:40:11 -0800 (Tue, 17 Dec 2013) | 8 lines
  Small reformatting changes.
  Remove help notes from the ReleaseNotes.
  Merging r197492: ------------------------------------------------------------------------ r197492 | dyatkovskiy | 2013-12-17 04:07:33 -0800 (Tue, 17 Dec 2013) | 26 lines
  Merging r197718: ------------------------------------------------------------------------ r197718 | hans | 2013-12-19 12:32:44 -0800 (Thu, 19 Dec 2013) | 10 lines
  Update notes.
  Merging r197449: ------------------------------------------------------------------------ r197449 | arnolds | 2013-12-16 17:11:01 -0800 (Mon, 16 Dec 2013) | 7 lines
  Merging r195411: ------------------------------------------------------------------------ r195411 | mgottesman | 2013-11-21 21:00:51 -0800 (Thu, 21 Nov 2013) | 1 line
  Merging r197047: ------------------------------------------------------------------------ r197047 | d0k | 2013-12-11 08:36:09 -0800 (Wed, 11 Dec 2013) | 3 lines
  Merging r195710: ------------------------------------------------------------------------
  Merging r197216: ------------------------------------------------------------------------ r197216 | chandlerc | 2013-12-13 00:00:01 -0800 (Fri, 13 Dec 2013) | 9 lines
  Merging r197215: ------------------------------------------------------------------------ r197215 | chandlerc | 2013-12-12 23:59:56 -0800 (Thu, 12 Dec 2013) | 24 lines
  Add release notes for the PowerPC backend
  Merging r197178: ------------------------------------------------------------------------ r197178 | hfinkel | 2013-12-12 12:45:24 -0800 (Thu, 12 Dec 2013) | 9 lines
  Merging r197228: ------------------------------------------------------------------------ r197228 | d0k | 2013-12-13 05:40:24 -0800 (Fri, 13 Dec 2013) | 8 lines
  Fix URL.
  Merging r-197100: ------------------------------------------------------------------------ r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
  Merging r197100: ------------------------------------------------------------------------ r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
  Merging r197089: ------------------------------------------------------------------------ r197089 | hfinkel | 2013-12-11 15:12:25 -0800 (Wed, 11 Dec 2013) | 6 lines
  Add LibBeauty blurb.
  ...

10 years agoam a01b0ad9: am c27b10b1: am 1fb20b43: am edba52bc: Merge "[MIPS64] Temporary placeho...
Elliott Hughes [Sat, 22 Feb 2014 00:40:18 +0000 (00:40 +0000)]
am a01b0ad9: am c27b10b1: am 1fb20b43: am edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

* commit 'a01b0ad93de74dd759034d334aec613f703f6e13':

10 years agoam c150d210: am 877a6e14: am e5c96aeb: am 94af5fd9: Merge "Avoid redefinition of...
Ian Rogers [Sat, 22 Feb 2014 00:40:18 +0000 (00:40 +0000)]
am c150d210: am 877a6e14: am e5c96aeb: am 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."

* commit 'c150d2107e21b3ce83203b848ddd7c9cc8216f67':

10 years agoam 2e072618: am 5fdf6cf6: am 16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Sat, 22 Feb 2014 00:40:17 +0000 (00:40 +0000)]
am 2e072618: am 5fdf6cf6: am 16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.

* commit '2e07261879c9286bfb1ceb34d1c43d2e39258742':
  Avoid redefinition of __STD_FORMAT_MACROS.

10 years agoam 2ef279b3: am 8d2ad1af: Avoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Sat, 22 Feb 2014 00:40:16 +0000 (00:40 +0000)]
am 2ef279b3: am 8d2ad1af: Avoid redefinition of __STD_FORMAT_MACROS.

* commit '2ef279b3430fe84414acb9b1fb54e18c3db7917b':
  Avoid redefinition of __STD_FORMAT_MACROS.

10 years agoam ef5a4427: am 13607273: am 78c0f17f: Merge "llvm: rename aarch64 target to arm64"
Colin Cross [Sat, 22 Feb 2014 00:40:15 +0000 (00:40 +0000)]
am ef5a4427: am 13607273: am 78c0f17f: Merge "llvm: rename aarch64 target to arm64"

* commit 'ef5a442708d16f9d126f6d170fa232dd82429a16':

10 years agoam b2713ca8: am c27b99f0: am 95015e5c: Merge "Remove unused files."
Stephen Hines [Sat, 22 Feb 2014 00:40:14 +0000 (00:40 +0000)]
am b2713ca8: am c27b99f0: am 95015e5c: Merge "Remove unused files."

* commit 'b2713ca8e072880347775f3e3b4b6714a748a9fc':

10 years agoam 987f85d3: am 6562c95b: am 0000ef0b: Merge "AArch64: Temporarily disable AArch64...
Ben Cheng [Sat, 22 Feb 2014 00:40:13 +0000 (00:40 +0000)]
am 987f85d3: am 6562c95b: am 0000ef0b: Merge "AArch64: Temporarily disable AArch64 build"

* commit '987f85d37d720a72dedc2fa917dccca4cff87b27':

10 years agoam da96b641: am 0de283df: Fixes for LLDB build to work around host 4.6.2+ compiler...
Todd Fiala [Sat, 22 Feb 2014 00:40:12 +0000 (00:40 +0000)]
am da96b641: am 0de283df: Fixes for LLDB build to work around host 4.6.2+ compiler issues.

* commit 'da96b6415b686fa06bb8435b12538053137d8e5a':
  Fixes for LLDB build to work around host 4.6.2+ compiler issues.

10 years agoam 5803f741: am ba309b04: Added libs to the host\'s libLLVM.so.
Todd Fiala [Sat, 22 Feb 2014 00:40:11 +0000 (00:40 +0000)]
am 5803f741: am ba309b04: Added libs to the host\'s libLLVM.so.

* commit '5803f741fe6a5ecf954e9e49ab5bac6252093acf':
  Added libs to the host's libLLVM.so.

10 years agoam ef13f53c: am 1255ecdd: am a91a22bc: am 8e708faf: am 5edef2e8: Merge "x86_64/x32...
Stephen Hines [Sat, 22 Feb 2014 00:40:10 +0000 (00:40 +0000)]
am ef13f53c: am 1255ecdd: am a91a22bc: am 8e708faf: am 5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"

* commit 'ef13f53cf00019c167ba31ab5e073d521a2b8abf':

10 years agoam fbafaf4f: am c0c7ba11: Merge "Only build HOST LLVM when forced to do so."
Stephen Hines [Sat, 22 Feb 2014 00:40:09 +0000 (00:40 +0000)]
am fbafaf4f: am c0c7ba11: Merge "Only build HOST LLVM when forced to do so."

* commit 'fbafaf4f03a8e5a5a63bc134a3ad29fd0f1e0bfa':
  Only build HOST LLVM when forced to do so.

10 years agoam 82b5399b: am 917ae8fb: Fix LLVM version number (3.3).
Stephen Hines [Sat, 22 Feb 2014 00:40:09 +0000 (00:40 +0000)]
am 82b5399b: am 917ae8fb: Fix LLVM version number (3.3).

* commit '82b5399b94150ebb811b312cb9e36666b8982ea7':
  Fix LLVM version number (3.3).

10 years agoam f36bad31: (-s ours) am 0210adda: (-s ours) am d79086a1: (-s ours) am 3acb57db...
Stephen Hines [Sat, 22 Feb 2014 00:40:08 +0000 (00:40 +0000)]
am f36bad31: (-s ours) am 0210adda: (-s ours) am d79086a1: (-s ours) am 3acb57db: (-s ours) am f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."

* commit 'f36bad3128edafb52dfbc21b6d344e89f3f75fba':

10 years agoam bd3e4ce9: am b7485134: am 449fc261: Merge "llvm: convert makefiles to support...
Colin Cross [Fri, 21 Feb 2014 21:51:54 +0000 (13:51 -0800)]
am bd3e4ce9: am b7485134: am 449fc261: Merge "llvm: convert makefiles to support multilib build"

* commit 'bd3e4ce9cfa61bcc0176ac17a06f0904cb854a9a':

10 years agoam cfe73f37: Fix Windows configuration for LLVM 3.4.
Stephen Hines [Fri, 21 Feb 2014 21:51:53 +0000 (13:51 -0800)]
am cfe73f37: Fix Windows configuration for LLVM 3.4.

* commit 'cfe73f379d20f50874bc523fab59c2db43388a32':
  Fix Windows configuration for LLVM 3.4.

10 years agoam 4d459ec2: Don\'t build DFSan functionality for Android.
Stephen Hines [Fri, 21 Feb 2014 21:51:52 +0000 (13:51 -0800)]
am 4d459ec2: Don\'t build DFSan functionality for Android.

* commit '4d459ec25a2763acb7b29f0b999fcc637e4102da':
  Don't build DFSan functionality for Android.

10 years agoam 373aa5c6: Update LLVM for merge to 3.4.
Stephen Hines [Fri, 21 Feb 2014 21:51:51 +0000 (13:51 -0800)]
am 373aa5c6: Update LLVM for merge to 3.4.

* commit '373aa5c665fe6df6b9c5586d397dc3617f25aab5':
  Update LLVM for merge to 3.4.

10 years agoam ce9904c6: Merge remote-tracking branch \'upstream/release_34\' into merge-20140211
Stephen Hines [Fri, 21 Feb 2014 21:51:46 +0000 (13:51 -0800)]
am ce9904c6: Merge remote-tracking branch \'upstream/release_34\' into merge-20140211

* commit 'ce9904c6ea8fd669978a8eefb854b330eb9828ff': (3284 commits)
  Merging r197483: ------------------------------------------------------------------------ r197483 | yrnkrn | 2013-12-17 00:40:11 -0800 (Tue, 17 Dec 2013) | 8 lines
  Small reformatting changes.
  Remove help notes from the ReleaseNotes.
  Merging r197492: ------------------------------------------------------------------------ r197492 | dyatkovskiy | 2013-12-17 04:07:33 -0800 (Tue, 17 Dec 2013) | 26 lines
  Merging r197718: ------------------------------------------------------------------------ r197718 | hans | 2013-12-19 12:32:44 -0800 (Thu, 19 Dec 2013) | 10 lines
  Update notes.
  Merging r197449: ------------------------------------------------------------------------ r197449 | arnolds | 2013-12-16 17:11:01 -0800 (Mon, 16 Dec 2013) | 7 lines
  Merging r195411: ------------------------------------------------------------------------ r195411 | mgottesman | 2013-11-21 21:00:51 -0800 (Thu, 21 Nov 2013) | 1 line
  Merging r197047: ------------------------------------------------------------------------ r197047 | d0k | 2013-12-11 08:36:09 -0800 (Wed, 11 Dec 2013) | 3 lines
  Merging r195710: ------------------------------------------------------------------------
  Merging r197216: ------------------------------------------------------------------------ r197216 | chandlerc | 2013-12-13 00:00:01 -0800 (Fri, 13 Dec 2013) | 9 lines
  Merging r197215: ------------------------------------------------------------------------ r197215 | chandlerc | 2013-12-12 23:59:56 -0800 (Thu, 12 Dec 2013) | 24 lines
  Add release notes for the PowerPC backend
  Merging r197178: ------------------------------------------------------------------------ r197178 | hfinkel | 2013-12-12 12:45:24 -0800 (Thu, 12 Dec 2013) | 9 lines
  Merging r197228: ------------------------------------------------------------------------ r197228 | d0k | 2013-12-13 05:40:24 -0800 (Fri, 13 Dec 2013) | 8 lines
  Fix URL.
  Merging r-197100: ------------------------------------------------------------------------ r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
  Merging r197100: ------------------------------------------------------------------------ r197100 | hfinkel | 2013-12-11 16:23:29 -0800 (Wed, 11 Dec 2013) | 1 line
  Merging r197089: ------------------------------------------------------------------------ r197089 | hfinkel | 2013-12-11 15:12:25 -0800 (Wed, 11 Dec 2013) | 6 lines
  Add LibBeauty blurb.
  ...

10 years agoam c27b10b1: am 1fb20b43: am edba52bc: Merge "[MIPS64] Temporary placeholder build...
Elliott Hughes [Fri, 21 Feb 2014 21:51:45 +0000 (13:51 -0800)]
am c27b10b1: am 1fb20b43: am edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

* commit 'c27b10b198c1d9e9b51f2303994313ec2778edd7':

10 years agoam 877a6e14: am e5c96aeb: am 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."
Ian Rogers [Fri, 21 Feb 2014 21:51:44 +0000 (13:51 -0800)]
am 877a6e14: am e5c96aeb: am 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."

* commit '877a6e141800bbf7468ea237f98c01823d0abe0a':

10 years agoam 5fdf6cf6: am 16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Fri, 21 Feb 2014 21:51:43 +0000 (13:51 -0800)]
am 5fdf6cf6: am 16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.

* commit '5fdf6cf61a44ba69a16401890450d6afd2f189ba':
  Avoid redefinition of __STD_FORMAT_MACROS.

10 years agoam 8d2ad1af: Avoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Fri, 21 Feb 2014 21:51:42 +0000 (13:51 -0800)]
am 8d2ad1af: Avoid redefinition of __STD_FORMAT_MACROS.

* commit '8d2ad1afa84d73cabd94d5eeaca8069eb49621c9':
  Avoid redefinition of __STD_FORMAT_MACROS.

10 years agoam 13607273: am 78c0f17f: Merge "llvm: rename aarch64 target to arm64"
Colin Cross [Fri, 21 Feb 2014 21:51:41 +0000 (13:51 -0800)]
am 13607273: am 78c0f17f: Merge "llvm: rename aarch64 target to arm64"

* commit '1360727339371ebcf24911c9ea7efd53f1d20d04':

10 years agoam c27b99f0: am 95015e5c: Merge "Remove unused files."
Stephen Hines [Fri, 21 Feb 2014 21:51:40 +0000 (13:51 -0800)]
am c27b99f0: am 95015e5c: Merge "Remove unused files."

* commit 'c27b99f0804db5fcecebe3d1f795f0ac2f781454':

10 years agoam 6562c95b: am 0000ef0b: Merge "AArch64: Temporarily disable AArch64 build"
Ben Cheng [Fri, 21 Feb 2014 21:51:39 +0000 (13:51 -0800)]
am 6562c95b: am 0000ef0b: Merge "AArch64: Temporarily disable AArch64 build"

* commit '6562c95b5280bc16c4db31d58a6cae8e5cdfde6d':

10 years agoam 0de283df: Fixes for LLDB build to work around host 4.6.2+ compiler issues.
Todd Fiala [Fri, 21 Feb 2014 21:51:38 +0000 (13:51 -0800)]
am 0de283df: Fixes for LLDB build to work around host 4.6.2+ compiler issues.

* commit '0de283dfa2686e30b44a3f6d7ce081588bf4910f':
  Fixes for LLDB build to work around host 4.6.2+ compiler issues.

10 years agoam ba309b04: Added libs to the host\'s libLLVM.so.
Todd Fiala [Fri, 21 Feb 2014 21:51:37 +0000 (13:51 -0800)]
am ba309b04: Added libs to the host\'s libLLVM.so.

* commit 'ba309b04ea5c66df1bc1c27849642d2602ab869d':
  Added libs to the host's libLLVM.so.

10 years agoam 1255ecdd: am a91a22bc: am 8e708faf: am 5edef2e8: Merge "x86_64/x32: Avoid early...
Stephen Hines [Fri, 21 Feb 2014 21:51:36 +0000 (13:51 -0800)]
am 1255ecdd: am a91a22bc: am 8e708faf: am 5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"

* commit '1255ecdd03f25d397c6871c18a6be6ba8f1142e7':

10 years agoam c0c7ba11: Merge "Only build HOST LLVM when forced to do so."
Stephen Hines [Fri, 21 Feb 2014 21:51:35 +0000 (13:51 -0800)]
am c0c7ba11: Merge "Only build HOST LLVM when forced to do so."

* commit 'c0c7ba114994c207930632a1d9f3dae92054ade2':
  Only build HOST LLVM when forced to do so.

10 years agoam 917ae8fb: Fix LLVM version number (3.3).
Stephen Hines [Fri, 21 Feb 2014 21:51:34 +0000 (13:51 -0800)]
am 917ae8fb: Fix LLVM version number (3.3).

* commit '917ae8fb30e31b065310aea214dbb5655d9a23d0':
  Fix LLVM version number (3.3).

10 years agoam 0210adda: (-s ours) am d79086a1: (-s ours) am 3acb57db: (-s ours) am f31eb8ab...
Stephen Hines [Fri, 21 Feb 2014 21:51:33 +0000 (13:51 -0800)]
am 0210adda: (-s ours) am d79086a1: (-s ours) am 3acb57db: (-s ours) am f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."

* commit '0210adda57353b4542220b496d812818995627ff':

10 years agoam b7485134: am 449fc261: Merge "llvm: convert makefiles to support multilib build"
Colin Cross [Tue, 18 Feb 2014 23:54:44 +0000 (23:54 +0000)]
am b7485134: am 449fc261: Merge "llvm: convert makefiles to support multilib build"

* commit 'b7485134a2cbecc47904988b4cfde24019ac4fa1':
  llvm: convert makefiles to support multilib build

10 years agoam 449fc261: Merge "llvm: convert makefiles to support multilib build"
Colin Cross [Tue, 18 Feb 2014 23:51:21 +0000 (23:51 +0000)]
am 449fc261: Merge "llvm: convert makefiles to support multilib build"

* commit '449fc26100e40d8dc9f5ca05cb111ca7f9b0d0ca':
  llvm: convert makefiles to support multilib build

10 years agoMerge "llvm: convert makefiles to support multilib build"
Colin Cross [Tue, 18 Feb 2014 23:39:47 +0000 (23:39 +0000)]
Merge "llvm: convert makefiles to support multilib build"

10 years agoFix Windows configuration for LLVM 3.4.
Stephen Hines [Sat, 15 Feb 2014 03:35:50 +0000 (19:35 -0800)]
Fix Windows configuration for LLVM 3.4.

Change-Id: Ia5772dc9edbef054a56c60e830bdd84794844854

10 years agoDon't build DFSan functionality for Android.
Stephen Hines [Thu, 13 Feb 2014 21:21:09 +0000 (21:21 +0000)]
Don't build DFSan functionality for Android.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201362 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoUpdate LLVM for merge to 3.4.
Stephen Hines [Fri, 7 Feb 2014 07:41:26 +0000 (23:41 -0800)]
Update LLVM for merge to 3.4.

Update config.h files.

Add RS SubtargetFeature for +long64 on ARM devices.

Adjust Android.mk for added/removed files:

+  Delinearization.cpp
-  PathNumbering.cpp
-  PathProfileInfo.cpp
-  PathProfileVerifier.cpp
-  ProfileDataLoader.cpp
-  ProfileDataLoaderPass.cpp
-  ProfileEstimatorPass.cpp
-  ProfileInfo.cpp
-  ProfileInfoLoader.cpp
-  ProfileInfoLoaderPass.cpp
-  ProfileVerifierPass.cpp

+  LiveRegUnits.cpp
-  ShrinkWrapping.cpp
+  StackMaps.cpp
-  StrongPHIElimination.cpp

+  DIEHash.cpp

+  LegacyPassManager.cpp

+  ELF.cpp

+  Unicode.cpp

-  MipsOptimizeMathLibCalls.cpp

-  MipsELFStreamer.cpp
+  MipsTargetStreamer.cpp

-  EdgeProfiling.cpp
+  DataFlowSanitizer.cpp
+  DebugIR.cpp
-  OptimalEdgeProfiling.cpp
-  PathProfiling.cpp
-  ProfilingUtils.cpp

-  BasicBlockPlacement.cpp
+  LoopRerollPass.cpp
+  PartiallyInlineLibCalls.cpp
+  SampleProfile.cpp

+  GlobalStatus.cpp

Change-Id: I17dcf0bf53a1720acd8226ae3e30d84993562a91

10 years agoMerge remote-tracking branch 'upstream/release_34' into merge-20140211
Stephen Hines [Wed, 12 Feb 2014 04:01:10 +0000 (20:01 -0800)]
Merge remote-tracking branch 'upstream/release_34' into merge-20140211

Conflicts:
lib/Linker/LinkModules.cpp
lib/Support/Unix/Signals.inc

Change-Id: Ia54f291fa5dc828052d2412736e8495c1282aa64

10 years agollvm: convert makefiles to support multilib build
Colin Cross [Wed, 5 Feb 2014 00:26:26 +0000 (16:26 -0800)]
llvm: convert makefiles to support multilib build

Convert makefiles to allow for building two architectures at the
same time.  This will also cause make checkbuild to build the target
libraries for all supported architectures.

Change-Id: Ia5e6fe5b1186a67753faafd3532ed4cb280a8b10

10 years agoam 1fb20b43: am edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other...
Elliott Hughes [Thu, 6 Feb 2014 20:51:07 +0000 (20:51 +0000)]
am 1fb20b43: am edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

* commit '1fb20b43c912416e9f9696366235a091d2acfc65':
  [MIPS64] Temporary placeholder build, to allow other projects to build

10 years agoam e5c96aeb: am 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."
Ian Rogers [Thu, 6 Feb 2014 20:51:06 +0000 (20:51 +0000)]
am e5c96aeb: am 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."

* commit 'e5c96aeb8d9c9551bbe6e3fa3d6a58538865dc7d':
  Avoid redefinition of __STD_FORMAT_MACROS.

10 years agoam edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other projects...
Elliott Hughes [Thu, 6 Feb 2014 20:47:42 +0000 (20:47 +0000)]
am edba52bc: Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

* commit 'edba52bcd1a8afc5277a747727eae63023f18949':
  [MIPS64] Temporary placeholder build, to allow other projects to build

10 years agoam 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."
Ian Rogers [Thu, 6 Feb 2014 20:47:42 +0000 (20:47 +0000)]
am 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."

* commit '94af5fd9ff423e4de67a23ca21d5964b82a3816a':
  Avoid redefinition of __STD_FORMAT_MACROS.

10 years agoMerge "[MIPS64] Temporary placeholder build, to allow other projects to build"
Elliott Hughes [Thu, 6 Feb 2014 20:40:37 +0000 (20:40 +0000)]
Merge "[MIPS64] Temporary placeholder build, to allow other projects to build"

10 years ago[MIPS64] Temporary placeholder build, to allow other projects to build
Duane Sand [Tue, 21 Jan 2014 18:47:07 +0000 (10:47 -0800)]
[MIPS64] Temporary placeholder build, to allow other projects to build

Change-Id: I050c96c687f44e882bb7139a7dd81a46c72ac3b6

10 years agoam 16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Thu, 6 Feb 2014 00:53:23 +0000 (00:53 +0000)]
am 16a8fd80: Avoid redefinition of __STD_FORMAT_MACROS.

* commit '16a8fd801a4c4372d966a5eea70b5f541a24be79':
  Avoid redefinition of __STD_FORMAT_MACROS.

10 years agoAvoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Thu, 30 Jan 2014 01:01:13 +0000 (17:01 -0800)]
Avoid redefinition of __STD_FORMAT_MACROS.

Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730

10 years agoAvoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Thu, 30 Jan 2014 01:01:13 +0000 (17:01 -0800)]
Avoid redefinition of __STD_FORMAT_MACROS.

Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730

10 years agoMerge "Avoid redefinition of __STD_FORMAT_MACROS."
Ian Rogers [Thu, 30 Jan 2014 01:07:15 +0000 (01:07 +0000)]
Merge "Avoid redefinition of __STD_FORMAT_MACROS."

10 years agoAvoid redefinition of __STD_FORMAT_MACROS.
Ian Rogers [Thu, 30 Jan 2014 01:01:13 +0000 (17:01 -0800)]
Avoid redefinition of __STD_FORMAT_MACROS.

Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730

10 years agoam 78c0f17f: Merge "llvm: rename aarch64 target to arm64"
Colin Cross [Fri, 24 Jan 2014 21:24:49 +0000 (21:24 +0000)]
am 78c0f17f: Merge "llvm: rename aarch64 target to arm64"

* commit '78c0f17f14c3dd3f702d0b49afbe7a26a7fd31d3':
  llvm: rename aarch64 target to arm64

10 years agoMerge "llvm: rename aarch64 target to arm64"
Colin Cross [Fri, 24 Jan 2014 20:33:04 +0000 (20:33 +0000)]
Merge "llvm: rename aarch64 target to arm64"

10 years agollvm: rename aarch64 target to arm64
Colin Cross [Wed, 22 Jan 2014 05:32:36 +0000 (21:32 -0800)]
llvm: rename aarch64 target to arm64

Rename aarch64 build targets to arm64.  The gcc toolchain is still
aarch64.

Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3

10 years agoam 95015e5c: Merge "Remove unused files."
Stephen Hines [Wed, 22 Jan 2014 00:37:34 +0000 (00:37 +0000)]
am 95015e5c: Merge "Remove unused files."

* commit '95015e5c45e0faca137acd16f8032f6ae09cdb6f':
  Remove unused files.

10 years agoMerge "Remove unused files."
Stephen Hines [Wed, 22 Jan 2014 00:12:14 +0000 (00:12 +0000)]
Merge "Remove unused files."

10 years agoRemove unused files.
Logan Chien [Wed, 8 Jan 2014 04:09:24 +0000 (12:09 +0800)]
Remove unused files.

* copy-diff.py was the effort to reduce the libLLVM build time
  but no longer being used because the timestamp of the generated
  .inc files should always be updated.

* tblgen-rules.mk has been splitted to llvm-tblgen-rules.mk
  and clang-tblgen-rules.mk, and tblgen-rules.mk won't be
  included by the other makefiles anymore.

Change-Id: I60d41b5a2a68d639750068cadcee3e78a4527cd2

10 years agoMerging r197483:
Bill Wendling [Tue, 24 Dec 2013 06:50:45 +0000 (06:50 +0000)]
Merging r197483:
------------------------------------------------------------------------
r197483 | yrnkrn | 2013-12-17 00:40:11 -0800 (Tue, 17 Dec 2013) | 8 lines

There are no __register_frame and __deregister_frame functions
when using structured exception handling (SEH) on Windows 64.

http://llvm-reviews.chandlerc.com/D2378

Patch by Jonathan Liu!

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197944 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoSmall reformatting changes.
Bill Wendling [Tue, 24 Dec 2013 06:29:42 +0000 (06:29 +0000)]
Small reformatting changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197932 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoRemove help notes from the ReleaseNotes.
Bill Wendling [Fri, 20 Dec 2013 22:14:38 +0000 (22:14 +0000)]
Remove help notes from the ReleaseNotes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197840 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197492:
Bill Wendling [Fri, 20 Dec 2013 04:29:56 +0000 (04:29 +0000)]
Merging r197492:
------------------------------------------------------------------------
r197492 | dyatkovskiy | 2013-12-17 04:07:33 -0800 (Tue, 17 Dec 2013) | 26 lines

Fix for PR18045:
http://llvm.org/bugs/show_bug.cgi?id=18045

Short issue description:
For X86 machines with sse < sse4.1 we got failures for some
particular load/store vector sequences:

$ clang-trunk -m32 -O2 test-case.c
fatal error: error in backend: Cannot select: 0x4200920: v4i32,ch = load 0x41d6ab0, 0x4205850,
      0x41dcb10<LD16[getelementptr inbounds ([4 x i32]* @e, i32 0, i32 0)](align=4)> [ORD=82]
      [ID=58]
  0x4205850: i32 = X86ISD::Wrapper 0x41d5490 [ORD=26] [ID=43]
    0x41d5490: i32 = TargetGlobalAddress<[4 x i32]* @e> 0 [ORD=26] [ID=23]
  0x41dcb10: i32 = undef [ID=2]

The reason is that EltsFromConsecutiveLoads could emit such load instruction
both before and after legalize stage. Though this instruction is not legal for
machines with SSSE3 and lower.

The fix: In EltsFromConsecutiveLoads, if we have passed legalize stage, we
check whether nodes it emits are legal.

P.S.: If you get failure in time from 12:00 and till 22:00 (UTC-8),
perhaps I'll slow with response, so you better reject this commit. Thanks!

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197779 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197718:
Bill Wendling [Fri, 20 Dec 2013 04:26:57 +0000 (04:26 +0000)]
Merging r197718:
------------------------------------------------------------------------
r197718 | hans | 2013-12-19 12:32:44 -0800 (Thu, 19 Dec 2013) | 10 lines

Make sys::ThreadLocal<> zero-initialized on non-thread builds (PR18205)

According to the docs, ThreadLocal<>::get() should return NULL
if no object has been set. This patch makes that the case also for non-thread
builds and adds a very basic unit test to check it.

(This was causing PR18205 because PrettyStackTraceHead didn't get zero-
initialized and we'd crash trying to read past the end of that list. We didn't
notice this so much on Linux since we'd crash after printing all the entries,
but on Mac we print into a SmallString, and would crash before printing that.)
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197778 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoUpdate notes.
Bill Wendling [Tue, 17 Dec 2013 06:01:39 +0000 (06:01 +0000)]
Update notes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197468 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197449:
Bill Wendling [Tue, 17 Dec 2013 01:28:35 +0000 (01:28 +0000)]
Merging r197449:
------------------------------------------------------------------------
r197449 | arnolds | 2013-12-16 17:11:01 -0800 (Mon, 16 Dec 2013) | 7 lines

LoopVectorizer: Don't if-convert constant expressions that can trap

A phi node operand or an instruction operand could be a constant expression that
can trap (division). Check that we don't vectorize such cases.

PR16729
radar://15653590
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197453 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r195411:
Bill Wendling [Mon, 16 Dec 2013 03:48:58 +0000 (03:48 +0000)]
Merging r195411:
------------------------------------------------------------------------
r195411 | mgottesman | 2013-11-21 21:00:51 -0800 (Thu, 21 Nov 2013) | 1 line

[block-freq] Update data in test case to be unsigned long long to fix mingw build.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197363 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197047:
Bill Wendling [Sun, 15 Dec 2013 21:02:34 +0000 (21:02 +0000)]
Merging r197047:
------------------------------------------------------------------------
r197047 | d0k | 2013-12-11 08:36:09 -0800 (Wed, 11 Dec 2013) | 3 lines

SelectionDAG: Fix a typo.

Found by "cppcheck". PR18208.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197355 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r195710:
Bill Wendling [Sun, 15 Dec 2013 20:58:02 +0000 (20:58 +0000)]
Merging r195710:
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197354 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197216:
Bill Wendling [Sun, 15 Dec 2013 20:55:09 +0000 (20:55 +0000)]
Merging r197216:
------------------------------------------------------------------------
r197216 | chandlerc | 2013-12-13 00:00:01 -0800 (Fri, 13 Dec 2013) | 9 lines

[inliner] Fix PR18206 by preventing inlining functions that call setjmp
through an invoke instruction.

The original patch for this was written by Mark Seaborn, but I've
reworked his test case into the existing returns_twice test case and
implemented the fix by the prior refactoring to actually run the cost
analysis over invoke instructions, and then here fixing our detection of
the returns_twice attribute to work for both calls and invokes. We never
noticed because we never saw an invoke. =[
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197352 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197215:
Bill Wendling [Sun, 15 Dec 2013 20:54:53 +0000 (20:54 +0000)]
Merging r197215:
------------------------------------------------------------------------
r197215 | chandlerc | 2013-12-12 23:59:56 -0800 (Thu, 12 Dec 2013) | 24 lines

[inliner] Completely change (and fix) how the inline cost analysis
handles terminator instructions.

The inline cost analysis inheritted some pretty rough handling of
terminator insts from the original cost analysis, and then made it much,
much worse by factoring all of the important analyses into a separate
instruction visitor. That instruction visitor never visited the
terminator.

This works fine for things like conditional branches, but for many other
things we simply computed The Wrong Value. First example are
unconditional branches, which should be free but were counted as full
cost. This is most significant for conditional branches where the
condition simplifies and folds during inlining. We paid a 1 instruction
tax on every branch in a straight line specialized path. =[

Oh, we also claimed that the unreachable instruction had cost.

But it gets worse. Let's consider invoke. We never applied the call
penalty. We never accounted for the cost of the arguments. Nope. Worse
still, we didn't handle the *correctness* constraints of not inlining
recursive invokes, or exception throwing returns_twice functions. Oops.
See PR18206. Sadly, PR18206 requires yet another fix, but this
refactoring is at least a huge step in that direction.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197351 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoAdd release notes for the PowerPC backend
Hal Finkel [Sat, 14 Dec 2013 14:41:55 +0000 (14:41 +0000)]
Add release notes for the PowerPC backend

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197325 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197178:
Bill Wendling [Sat, 14 Dec 2013 08:04:09 +0000 (08:04 +0000)]
Merging r197178:
------------------------------------------------------------------------
r197178 | hfinkel | 2013-12-12 12:45:24 -0800 (Thu, 12 Dec 2013) | 9 lines

Fix a use-after-free error in GlobalOpt CleanupConstantGlobalUsers

GlobalOpt's CleanupConstantGlobalUsers function uses a worklist array to manage
constant users to be visited. The pointers in this array need to be weak
handles because when we delete a constant array, we may also be holding a
pointer to one of its elements (or an element of one of its elements if we're
dealing with an array of arrays) in the worklist.

Fixes PR17347.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197322 91177308-0d34-0410-b5e6-96231b3b80d8

10 years agoMerging r197228:
Bill Wendling [Sat, 14 Dec 2013 08:01:30 +0000 (08:01 +0000)]
Merging r197228:
------------------------------------------------------------------------
r197228 | d0k | 2013-12-13 05:40:24 -0800 (Fri, 13 Dec 2013) | 8 lines

X86: When lowering shl_parts, don't emit shift amounts larger than the bit width.

While it's safe for the X86-specific shift nodes, dag combining will
kill generic nodes. Insert an AND to make it safe, isel will nuke it
as x86's shift instructions have an implicit AND.

Fixes PR16108, which contains a contraption to hit this case in between
constant folders.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@197321 91177308-0d34-0410-b5e6-96231b3b80d8