[llvm-branch-commits] [clang] 72f1246 - Add a release note about deprecating the clang-cl /fallback flag

2021-02-05 Thread Hans Wennborg via llvm-branch-commits

Author: Hans Wennborg
Date: 2021-02-05T13:53:42+01:00
New Revision: 72f12467ded52160d52025e13a6217f00fe25f68

URL: 
https://github.com/llvm/llvm-project/commit/72f12467ded52160d52025e13a6217f00fe25f68
DIFF: 
https://github.com/llvm/llvm-project/commit/72f12467ded52160d52025e13a6217f00fe25f68.diff

LOG: Add a release note about deprecating the clang-cl /fallback flag

As discussed in
https://lists.llvm.org/pipermail/cfe-dev/2021-January/067524.html

The flag has been removed on the main branch in D95876.

Differential revision: https://reviews.llvm.org/D96016

Added: 


Modified: 
clang/docs/ReleaseNotes.rst

Removed: 




diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c17d84de320c..f4ca8a855142 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -109,6 +109,10 @@ Deprecated Compiler Flags
 The following options are deprecated and ignored. They will be removed in
 future versions of Clang.
 
+- The clang-cl ``/fallback`` flag, which made clang-cl invoke Microsoft Visual
+  C++ on files it couldn't compile itself, has been deprecated. It will be
+  removed in Clang 13.
+
 - ...
 
 Modified Compiler Flags



___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [clang] 20ea9e3 - In change https://reviews.llvm.org/D115456 on-demand TLS initialization for Microsoft CXX ABI was added.

2022-02-07 Thread Hans Wennborg via llvm-branch-commits

Author: Maurice Heumann
Date: 2022-02-07T11:02:35+01:00
New Revision: 20ea9e379984f240d7135843baae6999abf3bf2b

URL: 
https://github.com/llvm/llvm-project/commit/20ea9e379984f240d7135843baae6999abf3bf2b
DIFF: 
https://github.com/llvm/llvm-project/commit/20ea9e379984f240d7135843baae6999abf3bf2b.diff

LOG: In change https://reviews.llvm.org/D115456 on-demand TLS initialization 
for Microsoft CXX ABI was added.

This mentions the change in the release notes.

Differential revision: https://reviews.llvm.org/D117500

Added: 


Modified: 
clang/docs/ReleaseNotes.rst

Removed: 




diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 5cc53e9ec27b2..a58e3fcd4f42c 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -158,6 +158,8 @@ Windows Support
   along with tools such as Live++ or Recode. Microsoft Edit and Continue isn't
   currently supported.
 
+- Support for on-demand initialization of TLS variables was added.
+
 C Language Changes in Clang
 ---
 



___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r244223 - Merging r243945-243950.

2015-08-06 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug  6 10:53:49 2015
New Revision: 244223

URL: http://llvm.org/viewvc/llvm-project?rev=244223&view=rev
Log:
Merging r243945-243950.

r243945 | chandlerc | 2015-08-03 20:52:52 -0700 (Mon, 03 Aug 2015) | 5 lines

[UB] Fix two cases of UB in copy/pasted code from SmallVector.

We should really stop copying and pasting code around. =/

Found by UBSan.



r243946 | chandlerc | 2015-08-03 20:52:56 -0700 (Mon, 03 Aug 2015) | 9 lines

[UB] Fix the two ways that we would try to memcpy from a null buffer in
the nested name specifier code.

First, skip the entire thing when the input is empty.

Next, handle the case where we started off with a null buffer and a zero
capacity to skip copying and freeing.

This was found with UBSan.



r243947 | chandlerc | 2015-08-03 20:52:58 -0700 (Mon, 03 Aug 2015) | 4 lines

[UB] When attaching empty strings to the AST, use an empty StringRef
rather than forcing the bump pointer allocator to produce a viable
pointer. This also fixes UB when we would try to memcpy from the null
incoming StringRef.



r243948 | chandlerc | 2015-08-03 20:53:00 -0700 (Mon, 03 Aug 2015) | 9 lines

[UB] Another place where we were trying to put string data into
a BumpPtrAllocator. This at least now handles the case where there is no
concatentation without calling memcpy on a null pointer. It might be
interesting to handle the case where everything is empty without
round-tripping through the allocator, but it wasn't clear to me if the
pointer returned is significant in any way, so I've left it in
a conservatively more-correct state.

Again, found with UBSan.



r243949 | chandlerc | 2015-08-03 20:53:01 -0700 (Mon, 03 Aug 2015) | 4 lines

[UB] Guard two calls to memcpy in generated attribute code to handle
null StringRef objects as inputs.

Found by UBSan.



r243950 | chandlerc | 2015-08-03 20:53:04 -0700 (Mon, 03 Aug 2015) | 8 lines

[UB] Avoid a really broken call to realloc that would later result in
a bad call to memcpy.

When we only have a buffer from one of the two reparse calls, we can
just return that buffer rather than going through the realloc/memcpy
dance.

Found with UBsan.


Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/include/clang/AST/ASTVector.h
cfe/branches/release_37/include/clang/Analysis/Support/BumpVector.h
cfe/branches/release_37/lib/AST/NestedNameSpecifier.cpp
cfe/branches/release_37/lib/AST/Stmt.cpp
cfe/branches/release_37/lib/CodeGen/CGDebugInfo.h
cfe/branches/release_37/tools/c-index-test/c-index-test.c
cfe/branches/release_37/utils/TableGen/ClangAttrEmitter.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug  6 10:53:49 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243964
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/include/clang/AST/ASTVector.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/include/clang/AST/ASTVector.h?rev=244223&r1=244222&r2=244223&view=diff
==
--- cfe/branches/release_37/include/clang/AST/ASTVector.h (original)
+++ cfe/branches/release_37/include/clang/AST/ASTVector.h Thu Aug  6 10:53:49 
2015
@@ -384,14 +384,15 @@ void ASTVector::grow(const ASTContext
   T *NewElts = new (C, llvm::alignOf()) T[NewCapacity];
 
   // Copy the elements over.
-  if (std::is_c

[llvm-branch-commits] [llvm-branch] r244224 - Merging r243927, r243932, and r243934:

2015-08-06 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug  6 11:02:17 2015
New Revision: 244224

URL: http://llvm.org/viewvc/llvm-project?rev=244224&view=rev
Log:
Merging r243927, r243932, and r243934:

r243927 | chandlerc | 2015-08-03 17:44:07 -0700 (Mon, 03 Aug 2015) | 11 lines

[UB] Fix a nasty place where we would pass null pointers to memcpy.

This happens to work, but is not guaranteed to work. Indeed, most memcpy
interfaces in Linux-land annotate these arguments as nonnull, and GCC
and LLVM both can and do optimized based upon that. When they do so,
they might legitimately have miscompiled code calling this routine with
two valid iterators, 'nullptr' and 'nullptr'. There was even code doing
precisely this because StringRef().begin() and StringRef().end() both
produce null pointers.

This was found by UBSan.



r243932 | chandlerc | 2015-08-03 17:53:01 -0700 (Mon, 03 Aug 2015) | 3 lines

[UB] Fix another place where we would pass a null pointer to memcpy.

This too was found by UBSan. Down to 35 failures for me.



r243934 | chandlerc | 2015-08-03 18:00:56 -0700 (Mon, 03 Aug 2015) | 4 lines

[UB] Fix yet another use of memcpy with a null pointer argument. I think
this is the last of them in my build of LLVM. Haven't tried Clang yet.

Found via UBSan.


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/include/llvm/ADT/SmallVector.h
llvm/branches/release_37/include/llvm/ADT/StringMap.h
llvm/branches/release_37/lib/Support/MemoryBuffer.cpp

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug  6 11:02:17 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243898,243984,243986,244058
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243898,243927,243932,243934,243984,243986,244058

Modified: llvm/branches/release_37/include/llvm/ADT/SmallVector.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/include/llvm/ADT/SmallVector.h?rev=244224&r1=244223&r2=244224&view=diff
==
--- llvm/branches/release_37/include/llvm/ADT/SmallVector.h (original)
+++ llvm/branches/release_37/include/llvm/ADT/SmallVector.h Thu Aug  6 11:02:17 
2015
@@ -315,8 +315,10 @@ protected:
T2>::value>::type * = nullptr) {
 // Use memcpy for PODs iterated by pointers (which includes SmallVector
 // iterators): std::uninitialized_copy optimizes to memmove, but we can
-// use memcpy here.
-memcpy(Dest, I, (E-I)*sizeof(T));
+// use memcpy here. Note that I and E are iterators and thus might be
+// invalid for memcpy if they are equal.
+if (I != E)
+  memcpy(Dest, I, (E - I) * sizeof(T));
   }
 
   /// Double the size of the allocated memory, guaranteeing space for at

Modified: llvm/branches/release_37/include/llvm/ADT/StringMap.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/include/llvm/ADT/StringMap.h?rev=244224&r1=244223&r2=244224&view=diff
==
--- llvm/branches/release_37/include/llvm/ADT/StringMap.h (original)
+++ llvm/branches/release_37/include/llvm/ADT/StringMap.h Thu Aug  6 11:02:17 
2015
@@ -158,7 +158,8 @@ public:
 
 // Copy the string information.
 char *StrBuffer = const_cast(NewItem->getKeyData());
-memcpy(StrBuffer, Key.data(), KeyLength);
+if (KeyLength > 0)
+  memcpy(StrBuffer, Key.data(), KeyLength);
 StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
 return NewItem;
   }

Modified: llvm/branches/release_37/lib/Support/MemoryBuffer.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Support/MemoryBuffer.cpp?rev=244224&r1=244223&r2=244224&view=diff

[llvm-branch-commits] [llvm-branch] r244614 - Merging r244554:

2015-08-11 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 11 10:40:14 2015
New Revision: 244614

URL: http://llvm.org/viewvc/llvm-project?rev=244614&view=rev
Log:
Merging r244554:

r244554 | nicholas | 2015-08-10 18:05:16 -0700 (Mon, 10 Aug 2015) | 2 lines

Update the syntax for load instruction in this example.



Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/docs/LangRef.rst

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 11 10:40:14 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243898,243927,243932,243934,243984,243986,244058,244123
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243898,243927,243932,243934,243984,243986,244058,244123,244554

Modified: llvm/branches/release_37/docs/LangRef.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/LangRef.rst?rev=244614&r1=244613&r2=244614&view=diff
==
--- llvm/branches/release_37/docs/LangRef.rst (original)
+++ llvm/branches/release_37/docs/LangRef.rst Tue Aug 11 10:40:14 2015
@@ -6493,7 +6493,7 @@ Example:
 
   %ptr = alloca i32   ; yields i32*:ptr
   store i32 3, i32* %ptr  ; yields void
-  %val = load i32* %ptr   ; yields i32:val = i32 3
+  %val = load i32, i32* %ptr  ; yields i32:val = i32 3
 
 .. _i_fence:
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r244652 - Merging r244418:

2015-08-11 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 11 15:01:26 2015
New Revision: 244652

URL: http://llvm.org/viewvc/llvm-project?rev=244652&view=rev
Log:
Merging r244418:

r244418 | majnemer | 2015-08-09 08:43:02 -0700 (Sun, 09 Aug 2015) | 10 lines

[PHITransAddr] Don't assume that instruction operands are translatable

We can only PHI translate instructions.  In our attempt to PHI translate
a bitcast, we attempt to translate its operand; however, the operand
might be an argument or a global instead of an instruction.  Benignly
bail out when this happens.

This fixes PR24397.

Differential Revision: http://reviews.llvm.org/D11879


Added:
llvm/branches/release_37/test/Transforms/GVN/pr24397.ll
  - copied unchanged from r244418, llvm/trunk/test/Transforms/GVN/pr24397.ll
Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Analysis/PHITransAddr.cpp

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 11 15:01:26 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243898,243927,243932,243934,243984,243986,244058,244123,244554
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243898,243927,243932,243934,243984,243986,244058,244123,244418,244554

Modified: llvm/branches/release_37/lib/Analysis/PHITransAddr.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Analysis/PHITransAddr.cpp?rev=244652&r1=244651&r2=244652&view=diff
==
--- llvm/branches/release_37/lib/Analysis/PHITransAddr.cpp (original)
+++ llvm/branches/release_37/lib/Analysis/PHITransAddr.cpp Tue Aug 11 15:01:26 
2015
@@ -374,9 +374,10 @@ InsertPHITranslatedSubExpr(Value *InVal,
   if (!Tmp.PHITranslateValue(CurBB, PredBB, &DT, /*MustDominate=*/true))
 return Tmp.getAddr();
 
-  // If we don't have an available version of this value, it must be an
-  // instruction.
-  Instruction *Inst = cast(InVal);
+  // We don't need to PHI translate values which aren't instructions.
+  auto *Inst = dyn_cast(InVal);
+  if (!Inst)
+return nullptr;
 
   // Handle cast of PHI translatable value.
   if (CastInst *Cast = dyn_cast(Inst)) {


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r244654 - Merging r243891 and r244644:

2015-08-11 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 11 15:07:52 2015
New Revision: 244654

URL: http://llvm.org/viewvc/llvm-project?rev=244654&view=rev
Log:
Merging r243891 and r244644:

r243891 | lhames | 2015-08-03 11:03:40 -0700 (Mon, 03 Aug 2015) | 4 lines

[MCJIT] Fix a cast warning in the unit-test introduced in r243589.

Thanks to Aaron Ballman for spotting this.



r244644 | dblaikie | 2015-08-11 11:17:45 -0700 (Tue, 11 Aug 2015) | 5 lines

Fix UB in MCJIT test cases that relied on union type punning

Reviewers: lhames, aaron.ballman

Differential Revision: http://reviews.llvm.org/D11779


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 11 15:07:52 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243898,243927,243932,243934,243984,243986,244058,244123,244418,244554
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,244058,244123,244418,244554,244644

Modified: 
llvm/branches/release_37/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp?rev=244654&r1=244653&r2=244654&view=diff
==
--- llvm/branches/release_37/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp 
(original)
+++ llvm/branches/release_37/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp 
Tue Aug 11 15:07:52 2015
@@ -339,14 +339,11 @@ TEST_F(MCJITCAPITest, simple_function) {
   buildMCJITOptions();
   buildMCJITEngine();
   buildAndRunPasses();
-  
-  union {
-void *raw;
-int (*usable)();
-  } functionPointer;
-  functionPointer.raw = LLVMGetPointerToGlobal(Engine, Function);
-  
-  EXPECT_EQ(42, functionPointer.usable());
+
+  auto *functionPointer = reinterpret_cast(
+  reinterpret_cast(LLVMGetPointerToGlobal(Engine, Function)));
+
+  EXPECT_EQ(42, functionPointer());
 }
 
 TEST_F(MCJITCAPITest, gva) {
@@ -389,14 +386,11 @@ TEST_F(MCJITCAPITest, custom_memory_mana
   useRoundTripSectionMemoryManager();
   buildMCJITEngine();
   buildAndRunPasses();
-  
-  union {
-void *raw;
-int (*usable)();
-  } functionPointer;
-  functionPointer.raw = LLVMGetPointerToGlobal(Engine, Function);
-  
-  EXPECT_EQ(42, functionPointer.usable());
+
+  auto *functionPointer = reinterpret_cast(
+  reinterpret_cast(LLVMGetPointerToGlobal(Engine, Function)));
+
+  EXPECT_EQ(42, functionPointer());
   EXPECT_TRUE(didCallAllocateCodeSection);
 }
 
@@ -412,14 +406,11 @@ TEST_F(MCJITCAPITest, stackmap_creates_c
   useRoundTripSectionMemoryManager();
   buildMCJITEngine();
   buildAndRunOptPasses();
-  
-  union {
-void *raw;
-int (*usable)();
-  } functionPointer;
-  functionPointer.raw = LLVMGetPointerToGlobal(Engine, Function);
-  
-  EXPECT_EQ(42, functionPointer.usable());
+
+  auto *functionPointer = reinterpret_cast(
+  reinterpret_cast(LLVMGetPointerToGlobal(Engine, Function)));
+
+  EXPECT_EQ(42, functionPointer());
   EXPECT_TRUE(didCallAllocateCodeSection);
   
   // Up to this point, the test is specific only to X86-64. But this next
@@ -446,21 +437,15 @@ TEST_F(MCJITCAPITest, reserve_allocation
   Options.MCJMM = wrap(MM);
   buildMCJITEngine();
   buildAndRunPasses();
-  
-  union {
-void *raw;
-int (*usable)();
-  } GetGlobalFct;
-  GetGlobalFct.raw = LLVMGetPointerToGlobal(Engine, Function);
-  
-  union {
-void *raw;
-void (*usable)(int);
-  } SetGlobalFct;
-  SetGlobalFct.raw = LLVMGetPointerToGlobal(Engine, Function2);
-  
-  SetGlobalFct.usable(789);
-  EXPECT_EQ(789, GetGlobalFct.usable());
+
+  auto GetGlobalFct = reinterpret_cast(
+  reinterpret_cast(LLVMGetPointerToGlobal(Engine, Function)));
+
+  auto SetGlobalFct = reinterpret_cast(
+  reinterpret_cast(LLVMGetPointerToGlobal(Engine, Function2)));
+
+  SetGlobalFct(

[llvm-branch-commits] [lldb] r244664 - Merging r243091:

2015-08-11 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 11 16:02:29 2015
New Revision: 244664

URL: http://llvm.org/viewvc/llvm-project?rev=244664&view=rev
Log:
Merging r243091:

r243091 | bhushan.attarde | 2015-07-23 21:06:20 -0700 (Thu, 23 Jul 2015) | 10 
lines

Handle old style S packet correctly

SUMMARY:
This patch fixes couple of issues:
1. A thread tries to lock a mutex which is already locked.
2. Updating a thread list before the stop packet is parsed so that it can 
get a valid thread id and allows to set the stop info correctly.

Reviewers: clayborg
Subscribers: mohit.bhakkad, sagar, jaydeep, lldb-commits
Differential Revision: http://reviews.llvm.org/D11449


Modified:
lldb/branches/release_37/   (props changed)

lldb/branches/release_37/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Propchange: lldb/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 11 16:02:29 2015
@@ -1,3 +1,3 @@
 /lldb/branches/apple/python-GIL:156467-162159
 /lldb/branches/iohandler:198360-200250
-/lldb/trunk:242306,242381,242525,242529,243618
+/lldb/trunk:242306,242381,242525,242529,243091,243618

Modified: 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=244664&r1=244663&r2=244664&view=diff
==
--- 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 
(original)
+++ 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 
Tue Aug 11 16:02:29 2015
@@ -371,7 +371,7 @@ ProcessGDBRemote::ProcessGDBRemote(Targe
 m_flags (0),
 m_gdb_comm (),
 m_debugserver_pid (LLDB_INVALID_PROCESS_ID),
-m_last_stop_packet_mutex (Mutex::eMutexTypeNormal),
+m_last_stop_packet_mutex (Mutex::eMutexTypeRecursive),
 m_register_info (),
 m_async_broadcaster (NULL, "lldb.process.gdb-remote.async-broadcaster"),
 m_async_thread_state_mutex(Mutex::eMutexTypeRecursive),
@@ -2447,6 +2447,18 @@ ProcessGDBRemote::SetThreadStopInfo (Str
 }
 }
 
+if (tid == LLDB_INVALID_THREAD_ID)
+{
+// A thread id may be invalid if the response is old style 'S' 
packet which does not provide the 
+// thread information. So update the thread list and choose 
the first one.
+UpdateThreadIDList ();
+
+if (!m_thread_ids.empty ())
+{
+tid = m_thread_ids.front ();
+}
+}
+
 ThreadSP thread_sp = SetThreadStopInfo (tid,
 expedited_register_map,
 signo,
@@ -2461,19 +2473,6 @@ ProcessGDBRemote::SetThreadStopInfo (Str
 queue_kind,
 queue_serial);
 
-// If the response is old style 'S' packet which does not provide 
us with thread information
-// then update the thread list and choose the first one.
-if (!thread_sp)
-{
-UpdateThreadIDList ();
-
-if (!m_thread_ids.empty ())
-{
-Mutex::Locker locker (m_thread_list_real.GetMutex ());
-thread_sp = m_thread_list_real.FindThreadByProtocolID 
(m_thread_ids.front (), false);
-}
-}
-
 return eStateStopped;
 }
 break;


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r244762 - ReleaseNotes: small version nbr fix

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 11:41:18 2015
New Revision: 244762

URL: http://llvm.org/viewvc/llvm-project?rev=244762&view=rev
Log:
ReleaseNotes: small version nbr fix

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=244762&r1=244761&r2=244762&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Wed Aug 12 11:41:18 2015
@@ -62,7 +62,7 @@ Improvements to Clang's diagnostics
 
 Clang's diagnostics are constantly being improved to catch more issues,
 explain them more clearly, and provide more accurate source information
-about them. The improvements since the 3.5 release include:
+about them. The improvements since the 3.6 release include:
 
 -  ...
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r244764 - Merging r244676:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 11:51:20 2015
New Revision: 244764

URL: http://llvm.org/viewvc/llvm-project?rev=244764&view=rev
Log:
Merging r244676:

r244676 | sanjoy | 2015-08-11 14:33:55 -0700 (Tue, 11 Aug 2015) | 7 lines

Fix PR24354.

`InstCombiner::OptimizeOverflowCheck` was asserting an
invariant (operands to binary operations are ordered by decreasing
complexity) that wasn't really an invariant.  Fix this by instead having
`InstCombiner::OptimizeOverflowCheck` establish the invariant if it does
not hold.


Added:
llvm/branches/release_37/test/Transforms/InstCombine/pr24354.ll
  - copied unchanged from r244676, 
llvm/trunk/test/Transforms/InstCombine/pr24354.ll
Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineCompares.cpp

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 11:51:20 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,244058,244123,244418,244554,244644
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,244058,244123,244418,244554,244644,244676

Modified: 
llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineCompares.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineCompares.cpp?rev=244764&r1=244763&r2=244764&view=diff
==
--- llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineCompares.cpp 
(original)
+++ llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineCompares.cpp 
Wed Aug 12 11:51:20 2015
@@ -2112,9 +2112,8 @@ static Instruction *ProcessUGT_ADDCST_AD
 bool InstCombiner::OptimizeOverflowCheck(OverflowCheckFlavor OCF, Value *LHS,
  Value *RHS, Instruction &OrigI,
  Value *&Result, Constant *&Overflow) {
-  assert((!OrigI.isCommutative() ||
-  !(isa(LHS) && !isa(RHS))) &&
- "call with a constant RHS if possible!");
+  if (OrigI.isCommutative() && isa(LHS) && !isa(RHS))
+std::swap(LHS, RHS);
 
   auto SetResult = [&](Value *OpResult, Constant *OverflowVal, bool ReuseName) 
{
 Result = OpResult;


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r244766 - Merging r244719:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 12:01:12 2015
New Revision: 244766

URL: http://llvm.org/viewvc/llvm-project?rev=244766&view=rev
Log:
Merging r244719:

r244719 | abataev | 2015-08-12 00:10:54 -0700 (Wed, 12 Aug 2015) | 4 lines

[OPENMP] Fix for http://llvm.org/PR24430: clang hangs on invalid input with 
openmp directive

Add parsing of openmp directives inside structs/unions in C mode.



Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/Parse/ParseDecl.cpp
cfe/branches/release_37/test/OpenMP/openmp_common.c

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 12:01:12 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964,244719
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/Parse/ParseDecl.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/Parse/ParseDecl.cpp?rev=244766&r1=244765&r2=244766&view=diff
==
--- cfe/branches/release_37/lib/Parse/ParseDecl.cpp (original)
+++ cfe/branches/release_37/lib/Parse/ParseDecl.cpp Wed Aug 12 12:01:12 2015
@@ -3603,6 +3603,14 @@ void Parser::ParseStructUnionBody(Source
   continue;
 }
 
+if (Tok.is(tok::annot_pragma_openmp)) {
+  // Result can be ignored, because it must be always empty.
+  auto Res = ParseOpenMPDeclarativeDirective();
+  assert(!Res);
+  // Silence possible warnings.
+  (void)Res;
+  continue;
+}
 if (!Tok.is(tok::at)) {
   auto CFieldCallback = [&](ParsingFieldDeclarator &FD) {
 // Install the declarator into the current TagDecl.

Modified: cfe/branches/release_37/test/OpenMP/openmp_common.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/test/OpenMP/openmp_common.c?rev=244766&r1=244765&r2=244766&view=diff
==
--- cfe/branches/release_37/test/OpenMP/openmp_common.c (original)
+++ cfe/branches/release_37/test/OpenMP/openmp_common.c Wed Aug 12 12:01:12 2015
@@ -7,3 +7,8 @@ void foo() {
 #pragma omp // expected-error {{expected an OpenMP directive}}
 #pragma omp unknown_directive // expected-error {{expected an OpenMP 
directive}}
 }
+
+typedef struct S {
+#pragma omp parallel for private(j) schedule(static) if (tree1->totleaf > 
1024) // expected-error {{unexpected OpenMP directive '#pragma omp parallel 
for'}}
+} St;
+


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r244768 - Merging r243999:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 12:12:16 2015
New Revision: 244768

URL: http://llvm.org/viewvc/llvm-project?rev=244768&view=rev
Log:
Merging r243999:

r243999 | tbrethou | 2015-08-04 20:51:17 -0700 (Tue, 04 Aug 2015) | 2 lines

Rename all references to old mailing lists to new lists.llvm.org address.



Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/Makefile.config.in
llvm/branches/release_37/docs/Atomics.rst
llvm/branches/release_37/docs/CodingStandards.rst
llvm/branches/release_37/docs/DeveloperPolicy.rst
llvm/branches/release_37/docs/ExtendingLLVM.rst
llvm/branches/release_37/docs/Frontend/PerformanceTips.rst
llvm/branches/release_37/docs/Phabricator.rst
llvm/branches/release_37/docs/Projects.rst
llvm/branches/release_37/docs/ReleaseNotes.rst
llvm/branches/release_37/docs/Statepoints.rst
llvm/branches/release_37/docs/TableGen/LangIntro.rst
llvm/branches/release_37/docs/TableGen/LangRef.rst
llvm/branches/release_37/docs/index.rst
llvm/branches/release_37/docs/tutorial/LangImpl9.rst
llvm/branches/release_37/docs/tutorial/OCamlLangImpl8.rst

llvm/branches/release_37/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
llvm/branches/release_37/lib/Target/ARM/README.txt
llvm/branches/release_37/lib/Target/ARM/Thumb1InstrInfo.cpp
llvm/branches/release_37/lib/Target/README.txt
llvm/branches/release_37/lib/Transforms/Scalar/EarlyCSE.cpp
llvm/branches/release_37/utils/emacs/README
llvm/branches/release_37/utils/jedit/README
llvm/branches/release_37/utils/kate/README
llvm/branches/release_37/utils/unittest/googletest/README.LLVM
llvm/branches/release_37/utils/vim/README

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 12:12:16 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,244058,244123,244418,244554,244644,244676
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244418,244554,244644,244676

Modified: llvm/branches/release_37/Makefile.config.in
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/Makefile.config.in?rev=244768&r1=244767&r2=244768&view=diff
==
--- llvm/branches/release_37/Makefile.config.in (original)
+++ llvm/branches/release_37/Makefile.config.in Wed Aug 12 12:12:16 2015
@@ -58,7 +58,7 @@ LLVM_OBJ_ROOT   := $(call realpath, @abs
 PROJ_SRC_ROOT   := $(LLVM_SRC_ROOT)
 PROJ_SRC_DIR:= $(LLVM_SRC_ROOT)$(patsubst 
$(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR))
 
-# See: 
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150323/268067.html
+# See: 
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150323/268067.html
 ifeq ($(LLVM_SRC_ROOT), $(LLVM_OBJ_ROOT))
   $(error In-source builds are not allowed. Please configure from a separate 
build directory!)
 endif

Modified: llvm/branches/release_37/docs/Atomics.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/Atomics.rst?rev=244768&r1=244767&r2=244768&view=diff
==
--- llvm/branches/release_37/docs/Atomics.rst (original)
+++ llvm/branches/release_37/docs/Atomics.rst Wed Aug 12 12:12:16 2015
@@ -173,7 +173,7 @@ Notes for code generation
   also expected to generate an i8 store as an i8 store, and not an instruction
   which writes to surrounding bytes.  (If you are writing a backend for an
   architecture which cannot satisfy these restrictions and cares about
-  concurrency, please send an email to llvmdev.)
+  concurrency, please send an email to llvm-dev.)
 
 Unordered
 -

Modified: llvm/branches/release_37/docs/CodingStandards.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/CodingStandards.rst?rev=244768&r1=244767&r2=244768&view=diff
==
--- llvm/branches/release_37/docs/CodingStandards.rst (original)
++

[llvm-branch-commits] [cfe-branch] r244769 - Merging r244000:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 12:13:14 2015
New Revision: 244769

URL: http://llvm.org/viewvc/llvm-project?rev=244769&view=rev
Log:
Merging r244000:

r244000 | tbrethou | 2015-08-04 20:55:23 -0700 (Tue, 04 Aug 2015) | 2 lines

Update mailing list references to lists.llvm.org



Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/README.txt
cfe/branches/release_37/docs/ExternalClangExamples.rst
cfe/branches/release_37/docs/InternalsManual.rst
cfe/branches/release_37/docs/ReleaseNotes.rst
cfe/branches/release_37/test/Analysis/dead-stores.m
cfe/branches/release_37/test/SemaObjC/comptypes-9.m
cfe/branches/release_37/www/analyzer/checker_dev_manual.html
cfe/branches/release_37/www/analyzer/installation.html
cfe/branches/release_37/www/analyzer/menu.html.incl
cfe/branches/release_37/www/analyzer/open_projects.html
cfe/branches/release_37/www/demo/index.cgi
cfe/branches/release_37/www/get_involved.html
cfe/branches/release_37/www/menu.html.incl

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 12:13:14 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964,244719
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964,244000,244719
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/README.txt
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/README.txt?rev=244769&r1=244768&r2=244769&view=diff
==
--- cfe/branches/release_37/README.txt (original)
+++ cfe/branches/release_37/README.txt Wed Aug 12 12:13:14 2015
@@ -20,7 +20,7 @@ Information on the LLVM project:   http:
 
 If you have questions or comments about Clang, a great place to discuss them is
 on the Clang development mailing list:
-  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
+  http://lists.llvm.org/mailman/listinfo/cfe-dev
 
 If you find a bug in Clang, please file it in the LLVM bug tracker:
   http://llvm.org/bugs/

Modified: cfe/branches/release_37/docs/ExternalClangExamples.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ExternalClangExamples.rst?rev=244769&r1=244768&r2=244769&view=diff
==
--- cfe/branches/release_37/docs/ExternalClangExamples.rst (original)
+++ cfe/branches/release_37/docs/ExternalClangExamples.rst Wed Aug 12 12:13:14 
2015
@@ -20,7 +20,7 @@ where Clang is used are:
 
 If you know of (or wrote!) a tool or project using Clang, please send an
 email to Clang's `development discussion mailing list
-`_ to have it added.
+`_ to have it added.
 (or if you are already a Clang contributor, feel free to directly commit
 additions). Since the primary purpose of this page is to provide examples
 that can help developers, generally they must have code available.

Modified: cfe/branches/release_37/docs/InternalsManual.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/InternalsManual.rst?rev=244769&r1=244768&r2=244769&view=diff
==
--- cfe/branches/release_37/docs/InternalsManual.rst (original)
+++ cfe/branches/release_37/docs/InternalsManual.rst Wed Aug 12 12:13:14 2015
@@ -508,7 +508,7 @@ token.  This concept maps directly to th
 ``SourceRange`` and ``CharSourceRange``
 ---
 
-.. mostly taken from 
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-August/010595.html
+.. mostly taken from 
http://lists.llvm.org/pipermail/cfe-dev/2010-August/010595.html
 
 Clang represents most source ranges by [first, last], where "first" and "last"
 each point to the beginning of their respective tokens.  For example consider

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=244769&r1=244768&r2=244769&view=diff
==
---

[llvm-branch-commits] [clang-tools-extra-branch] r244770 - Merging r244001:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 12:13:49 2015
New Revision: 244770

URL: http://llvm.org/viewvc/llvm-project?rev=244770&view=rev
Log:
Merging r244001:

r244001 | tbrethou | 2015-08-04 20:56:44 -0700 (Tue, 04 Aug 2015) | 2 lines

Update references to new lists.llvm.org mailing lists.



Modified:
clang-tools-extra/branches/release_37/   (props changed)
clang-tools-extra/branches/release_37/README.txt

Propchange: clang-tools-extra/branches/release_37/
--
svn:mergeinfo = /clang-tools-extra/trunk:244001

Modified: clang-tools-extra/branches/release_37/README.txt
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/branches/release_37/README.txt?rev=244770&r1=244769&r2=244770&view=diff
==
--- clang-tools-extra/branches/release_37/README.txt (original)
+++ clang-tools-extra/branches/release_37/README.txt Wed Aug 12 12:13:49 2015
@@ -12,11 +12,11 @@ tree, and in the 'tools/extra' subdirect
 
 All discussion regarding Clang, Clang-based tools, and code in this repository
 should be held using the standard Clang mailing lists:
-  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
+  http://lists.llvm.org/mailman/listinfo/cfe-dev
 
 Code review for this tree should take place on the standard Clang patch and
 commit lists:
-  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
+  http://lists.llvm.org/mailman/listinfo/cfe-commits
 
 If you find a bug in these tools, please file it in the LLVM bug tracker:
   http://llvm.org/bugs/


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [compiler-rt-branch] r244771 - Merging r244002:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 12:14:28 2015
New Revision: 244771

URL: http://llvm.org/viewvc/llvm-project?rev=244771&view=rev
Log:
Merging r244002:

r244002 | tbrethou | 2015-08-04 20:58:00 -0700 (Tue, 04 Aug 2015) | 2 lines

Update references to new lists.llvm.org mailing lists.



Modified:
compiler-rt/branches/release_37/   (props changed)
compiler-rt/branches/release_37/www/index.html
compiler-rt/branches/release_37/www/menu.html.incl

Propchange: compiler-rt/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 12:14:28 2015
@@ -1 +1 @@
-/compiler-rt/trunk:242350,242424,242444,242449,242539-242540,242647,242651,243170,243604,243615,243686
+/compiler-rt/trunk:242350,242424,242444,242449,242539-242540,242647,242651,243170,243604,243615,243686,244002

Modified: compiler-rt/branches/release_37/www/index.html
URL: 
http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_37/www/index.html?rev=244771&r1=244770&r2=244771&view=diff
==
--- compiler-rt/branches/release_37/www/index.html (original)
+++ compiler-rt/branches/release_37/www/index.html Wed Aug 12 12:14:28 2015
@@ -133,10 +133,10 @@
 
   compiler-rt doesn't have its own mailing list, if you have questions 
please
  email the http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev";>llvmdev 
mailing
+href="http://lists.llvm.org/mailman/listinfo/llvm-dev";>llvm-dev mailing
 list.  Commits to the compiler-rt SVN module are automatically sent to the
 http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits";>llvm-commits
+  href="http://lists.llvm.org/mailman/listinfo/llvm-commits";>llvm-commits
 mailing list.
 
 

Modified: compiler-rt/branches/release_37/www/menu.html.incl
URL: 
http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_37/www/menu.html.incl?rev=244771&r1=244770&r2=244771&view=diff
==
--- compiler-rt/branches/release_37/www/menu.html.incl (original)
+++ compiler-rt/branches/release_37/www/menu.html.incl Wed Aug 12 12:14:28 2015
@@ -10,8 +10,8 @@
 
   
 Quick Links
-http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev";>llvmdev
-http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits";>llvm-commits
+http://lists.llvm.org/mailman/listinfo/llvm-dev";>llvm-dev
+http://lists.llvm.org/mailman/listinfo/llvm-commits";>llvm-commits
 http://llvm.org/bugs/";>Bug Reports
 http://llvm.org/svn/llvm-project/compiler-rt/trunk/";>Browse 
SVN
 http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/";>Browse 
ViewVC


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r244775 - Merging r244006:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 12:17:10 2015
New Revision: 244775

URL: http://llvm.org/viewvc/llvm-project?rev=244775&view=rev
Log:
Merging r244006:

r244006 | tbrethou | 2015-08-04 21:02:43 -0700 (Tue, 04 Aug 2015) | 2 lines

Update to new lists.llvm.org



Modified:
lldb/branches/release_37/   (props changed)
lldb/branches/release_37/www/index.html
lldb/branches/release_37/www/sidebar.incl

Propchange: lldb/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 12:17:10 2015
@@ -1,3 +1,3 @@
 /lldb/branches/apple/python-GIL:156467-162159
 /lldb/branches/iohandler:198360-200250
-/lldb/trunk:242306,242381,242525,242529,243091,243618
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006

Modified: lldb/branches/release_37/www/index.html
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/www/index.html?rev=244775&r1=244774&r2=244775&view=diff
==
--- lldb/branches/release_37/www/index.html (original)
+++ lldb/branches/release_37/www/index.html Wed Aug 12 12:17:10 2015
@@ -120,9 +120,9 @@
On Windows 
with VS 2012 or higher using CMake

See the LLDB Build Page for platform-specific build 
instructions.
-   Discussions about LLDB should go to the 
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev";>lldb-dev 
mailing
+   Discussions about LLDB should go to the 
http://lists.llvm.org/mailman/listinfo/lldb-dev";>lldb-dev mailing
list.  Commit messages for the lldb SVN 
module are automatically sent to the
-   http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits";>lldb-commits
+   http://lists.llvm.org/mailman/listinfo/lldb-commits";>lldb-commits
mailing list, and this is also the 
preferred mailing list for patch
submissions.


Modified: lldb/branches/release_37/www/sidebar.incl
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/www/sidebar.incl?rev=244775&r1=244774&r2=244775&view=diff
==
--- lldb/branches/release_37/www/sidebar.incl (original)
+++ lldb/branches/release_37/www/sidebar.incl Wed Aug 12 12:17:10 2015
@@ -32,8 +32,8 @@
 
   Mailing Lists
   
-http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev";>lldb-dev
-http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits";>lldb-commits
+http://lists.llvm.org/mailman/listinfo/lldb-dev";>lldb-dev
+http://lists.llvm.org/mailman/listinfo/lldb-commits";>lldb-commits
   
 
   


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [polly] r244777 - Merging r244009:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 12:18:30 2015
New Revision: 244777

URL: http://llvm.org/viewvc/llvm-project?rev=244777&view=rev
Log:
Merging r244009:

r244009 | tbrethou | 2015-08-04 21:19:04 -0700 (Tue, 04 Aug 2015) | 2 lines

Update links to lists.llvm.org.



Modified:
polly/branches/release_37/   (props changed)
polly/branches/release_37/www/menu.html.incl
polly/branches/release_37/www/todo.html

Propchange: polly/branches/release_37/
--
svn:mergeinfo = /polly/trunk:244009

Modified: polly/branches/release_37/www/menu.html.incl
URL: 
http://llvm.org/viewvc/llvm-project/polly/branches/release_37/www/menu.html.incl?rev=244777&r1=244776&r2=244777&view=diff
==
--- polly/branches/release_37/www/menu.html.incl (original)
+++ polly/branches/release_37/www/menu.html.incl Wed Aug 12 12:18:30 2015
@@ -25,7 +25,7 @@ Optimizations
 
   
 Development 
-http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits";>
+http://lists.llvm.org/mailman/listinfo/llvm-commits";>
   Mailing List (patches)
 
 http://groups.google.com/group/polly-dev";>Mailing List 
(discussion)

Modified: polly/branches/release_37/www/todo.html
URL: 
http://llvm.org/viewvc/llvm-project/polly/branches/release_37/www/todo.html?rev=244777&r1=244776&r2=244777&view=diff
==
--- polly/branches/release_37/www/todo.html (original)
+++ polly/branches/release_37/www/todo.html Wed Aug 12 12:18:30 2015
@@ -421,7 +421,7 @@ git://llvm.org/git/polly.git
 
  Commit mails
 
-llvm-comm...@cs.uiuc.edu
+llvm-comm...@lists.llvm.org
  Tobias
 
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r244790 - Docs: drop 'if you're using a released version' warning

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 13:31:52 2015
New Revision: 244790

URL: http://llvm.org/viewvc/llvm-project?rev=244790&view=rev
Log:
Docs: drop 'if you're using a released version' warning

Modified:
llvm/branches/release_37/docs/index.rst

Modified: llvm/branches/release_37/docs/index.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/index.rst?rev=244790&r1=244789&r2=244790&view=diff
==
--- llvm/branches/release_37/docs/index.rst (original)
+++ llvm/branches/release_37/docs/index.rst Wed Aug 12 13:31:52 2015
@@ -1,11 +1,6 @@
 Overview
 
 
-.. warning::
-
-   If you are using a released version of LLVM, see `the download page
-   `_ to find your documentation.
-
 The LLVM compiler infrastructure supports a wide range of projects, from
 industrial strength compilers to specialized JIT applications to small
 research projects.


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r244796 - Merging r244794:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 14:40:07 2015
New Revision: 244796

URL: http://llvm.org/viewvc/llvm-project?rev=244796&view=rev
Log:
Merging r244794:

r244794 | hans | 2015-08-12 12:35:01 -0700 (Wed, 12 Aug 2015) | 1 line

Docs: update clang-cl command-line documentation


Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/docs/UsersManual.rst

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 14:40:07 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964,244000,244719
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964,244000,244719,244794
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/docs/UsersManual.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/UsersManual.rst?rev=244796&r1=244795&r2=244796&view=diff
==
--- cfe/branches/release_37/docs/UsersManual.rst (original)
+++ cfe/branches/release_37/docs/UsersManual.rst Wed Aug 12 14:40:07 2015
@@ -1985,7 +1985,7 @@ with a warning. For example:
 
   ::
 
-clang-cl.exe: warning: argument unused during compilation: '/Zi'
+clang-cl.exe: warning: argument unused during compilation: '/AI'
 
 To suppress warnings about unused arguments, use the ``-Qunused-arguments`` 
option.
 
@@ -2014,14 +2014,21 @@ Execute ``clang-cl /?`` to see a list of
   /E Preprocess to stdout
   /fallback  Fall back to cl.exe if clang-cl fails to compile
   /FAOutput assembly code file during compilation
-  /Fa Output assembly code to this file during 
compilation
+  /Fa Output assembly code to this file during 
compilation (with /FA)
   /Fe Set output executable file or directory (ends in 
/ or \)
   /FI Include file before parsing
-  /Fi  Set preprocess output file name
-  /Fo Set output object file, or directory (ends in / 
or \)
+  /Fi  Set preprocess output file name (with /P)
+  /Fo Set output object file, or directory (ends in / 
or \) (with /c)
+  /fp:except-
+  /fp:except 
+  /fp:fast   
+  /fp:precise
+  /fp:strict 
+  /GAAssume thread-local variables are defined in the 
executable
   /GF-   Disable string pooling
   /GR-   Disable emission of RTTI data
   /GREnable emission of RTTI data
+  /Gs Set stack probe size
   /Gw-   Don't put each data item in its own section
   /GwPut each data item in its own section
   /Gy-   Don't put each function in its own section
@@ -2046,7 +2053,10 @@ Execute ``clang-cl /?`` to see a list of
   /Oy-   Disable frame pointer omission
   /OyEnable frame pointer omission
   /O  Optimization level
+  /o  Set output file or directory (ends in / or \)
   /P Preprocess to file
+  /Qvec- Disable the loop vectorization passes
+  /Qvec  Enable the loop vectorization passes
   /showIncludes  Print info about included files to stderr
   /TCTreat all source files as C
   /Tc  Specify a C source file
@@ -2059,6 +2069,8 @@ Execute ``clang-cl /?`` to see a list of
   /vmm   Set the default most-general representation to 
multiple inheritance
   /vms   Set the default most-general representation to 
single inheritance
   /vmv   Set the default most-general representation to 
virtual inheritance
+  /volatile:iso  Volatile loads and stores have standard semantics
+  /volatile:ms   Volatile loads and stores have acquire and 
release semantics
   /W0Disable all warnings
   /W1Enable -Wall
   /W2Enable -Wall
@@ -2068,29 +2080,52 @@ Execute ``clang-cl

[llvm-branch-commits] [llvm-branch] r244798 - Merging r244789:

2015-08-12 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 12 14:46:15 2015
New Revision: 244798

URL: http://llvm.org/viewvc/llvm-project?rev=244798&view=rev
Log:
Merging r244789:

r244789 | hans | 2015-08-12 11:27:23 -0700 (Wed, 12 Aug 2015) | 1 line

Docs: keep copyright years up-to-date.


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/docs/conf.py

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 12 14:46:15 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244418,244554,244644,244676
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244418,244554,244644,244676,244789

Modified: llvm/branches/release_37/docs/conf.py
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/conf.py?rev=244798&r1=244797&r2=244798&view=diff
==
--- llvm/branches/release_37/docs/conf.py (original)
+++ llvm/branches/release_37/docs/conf.py Wed Aug 12 14:46:15 2015
@@ -11,6 +11,7 @@
 # serve to show the default.
 
 import sys, os
+from datetime import date
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -40,7 +41,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'LLVM'
-copyright = u'2003-2014, LLVM Project'
+copyright = u'2003-%d, LLVM Project' % date.today().year
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r244905 - Generate docs/AttributeReference.rst

2015-08-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 13 11:15:29 2015
New Revision: 244905

URL: http://llvm.org/viewvc/llvm-project?rev=244905&view=rev
Log:
Generate docs/AttributeReference.rst

Modified:
cfe/branches/release_37/docs/AttributeReference.rst

Modified: cfe/branches/release_37/docs/AttributeReference.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/AttributeReference.rst?rev=244905&r1=244904&r2=244905&view=diff
==
--- cfe/branches/release_37/docs/AttributeReference.rst (original)
+++ cfe/branches/release_37/docs/AttributeReference.rst Thu Aug 13 11:15:29 2015
@@ -1,13 +1,1760 @@
 ..
   ---
   NOTE: This file is automatically generated by running clang-tblgen
-  -gen-attr-docs. Do not edit this file by hand!! The contents for
-  this file are automatically generated by a server-side process.
-  
-  Please do not commit this file. The file exists for local testing
-  purposes only.
+  -gen-attr-docs. Do not edit this file by hand!!
   ---
 
 ===
 Attributes in Clang
-===
\ No newline at end of file
+===
+.. contents::
+   :local:
+
+Introduction
+
+
+This page lists the attributes currently supported by Clang.
+
+AMD GPU Register Attributes
+===
+Clang supports attributes for controlling register usage on AMD GPU
+targets. These attributes may be attached to a kernel function
+definition and is an optimization hint to the backend for the maximum
+number of registers to use. This is useful in cases where register
+limited occupancy is known to be an important factor for the
+performance for the kernel.
+
+The semantics are as follows:
+
+- The backend will attempt to limit the number of used registers to
+  the specified value, but the exact number used is not
+  guaranteed. The number used may be rounded up to satisfy the
+  allocation requirements or ABI constraints of the subtarget. For
+  example, on Southern Islands VGPRs may only be allocated in
+  increments of 4, so requesting a limit of 39 VGPRs will really
+  attempt to use up to 40. Requesting more registers than the
+  subtarget supports will truncate to the maximum allowed. The backend
+  may also use fewer registers than requested whenever possible.
+
+- 0 implies the default no limit on register usage.
+
+- Ignored on older VLIW subtargets which did not have separate scalar
+  and vector registers, R600 through Northern Islands.
+
+amdgpu_num_sgpr
+---
+.. csv-table:: Supported Syntaxes
+   :header: "GNU", "C++11", "__declspec", "Keyword", "Pragma"
+
+   "X","","","", ""
+
+Clang supports the
+``__attribute__((amdgpu_num_sgpr()))`` attribute on AMD
+Southern Islands GPUs and later for controlling the number of scalar
+registers. A typical value would be between 8 and 104 in increments of
+8.
+
+Due to common instruction constraints, an additional 2-4 SGPRs are
+typically required for internal use depending on features used. This
+value is a hint for the total number of SGPRs to use, and not the
+number of user SGPRs, so no special consideration needs to be given
+for these.
+
+
+amdgpu_num_vgpr
+---
+.. csv-table:: Supported Syntaxes
+   :header: "GNU", "C++11", "__declspec", "Keyword", "Pragma"
+
+   "X","","","", ""
+
+Clang supports the
+``__attribute__((amdgpu_num_vgpr()))`` attribute on AMD
+Southern Islands GPUs and later for controlling the number of vector
+registers. A typical value would be between 4 and 256 in increments
+of 4.
+
+
+Function Attributes
+===
+
+
+interrupt
+-
+.. csv-table:: Supported Syntaxes
+   :header: "GNU", "C++11", "__declspec", "Keyword", "Pragma"
+
+   "X","","","", ""
+
+Clang supports the GNU style ``__attribute__((interrupt("TYPE")))`` attribute 
on
+ARM targets. This attribute may be attached to a function definition and
+instructs the backend to generate appropriate function entry/exit code so that
+it can be used directly as an interrupt service routine.
+
+The parameter passed to the interrupt attribute is optional, but if
+provided it must be a string literal with one of the following values: "IRQ",
+"FIQ", "SWI", "ABORT", "UNDEF".
+
+The semantics are as follows:
+
+- If the function is AAPCS, Clang instructs the backend to realign the stack to
+  8 bytes on entry. This is a general requirement of the AAPCS at public
+  interfaces, but may not hold when an exception is taken. Doing this allows
+  other AAPCS functions to be called.
+- If the CPU is M-class this is all that needs to be done since the 
architecture
+  itself is designed in such a way that functions obeying the normal AAPCS ABI
+  constraints are valid exception handlers.
+- If the CPU is not M-class, the prologue and epilogue are modified to save all
+  non-banked registers that are used

[llvm-branch-commits] [llvm-branch] r244909 - Merging r244889:

2015-08-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 13 11:38:56 2015
New Revision: 244909

URL: http://llvm.org/viewvc/llvm-project?rev=244909&view=rev
Log:
Merging r244889:

r244889 | uweigand | 2015-08-13 06:37:06 -0700 (Thu, 13 Aug 2015) | 22 lines

[SystemZ] Support large LLVM IR struct return values

Recent mesa/llvmpipe crashes on SystemZ due to a failed assertion when
attempting to compile a routine with a return type of
  { <4 x float>, <4 x float>, <4 x float>, <4 x float> }
on a system without vector instruction support.

This is because after legalizing the vector type, we get a return value
consisting of 16 floats, which cannot all be returned in registers.

Usually, what should happen in this case is that the target's CanLowerReturn
routine rejects the return type, in which case SelectionDAG falls back to
implementing a structure return in memory via implicit reference.

However, the SystemZ target never actually implemented any CanLowerReturn
routine, and thus would accept any struct return type.

This patch fixes the crash by implementing CanLowerReturn.  As a side effect,
this also handles fp128 return values, fixing a todo that was noted in
SystemZCallingConv.td.




Added:
llvm/branches/release_37/test/CodeGen/SystemZ/args-07.ll
  - copied unchanged from r244889, 
llvm/trunk/test/CodeGen/SystemZ/args-07.ll
llvm/branches/release_37/test/CodeGen/SystemZ/args-08.ll
  - copied unchanged from r244889, 
llvm/trunk/test/CodeGen/SystemZ/args-08.ll
llvm/branches/release_37/test/CodeGen/SystemZ/vec-args-06.ll
  - copied unchanged from r244889, 
llvm/trunk/test/CodeGen/SystemZ/vec-args-06.ll
llvm/branches/release_37/test/CodeGen/SystemZ/vec-args-07.ll
  - copied unchanged from r244889, 
llvm/trunk/test/CodeGen/SystemZ/vec-args-07.ll
Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Target/SystemZ/SystemZCallingConv.td
llvm/branches/release_37/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/branches/release_37/lib/Target/SystemZ/SystemZISelLowering.h
llvm/branches/release_37/test/CodeGen/SystemZ/args-04.ll

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 13 11:38:56 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244418,244554,244644,244676,244789
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244418,244554,244644,244676,244789,244889

Modified: llvm/branches/release_37/lib/Target/SystemZ/SystemZCallingConv.td
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Target/SystemZ/SystemZCallingConv.td?rev=244909&r1=244908&r2=244909&view=diff
==
--- llvm/branches/release_37/lib/Target/SystemZ/SystemZCallingConv.td (original)
+++ llvm/branches/release_37/lib/Target/SystemZ/SystemZCallingConv.td Thu Aug 
13 11:38:56 2015
@@ -53,10 +53,6 @@ def RetCC_SystemZ : CallingConv<[
   CCIfSubtarget<"hasVector()",
 CCIfType<[v16i8, v8i16, v4i32, v2i64, v4f32, v2f64],
  CCAssignToReg<[V24, V26, V28, V30, V25, V27, V29, V31]>>>
-
-  // ABI-compliant code returns long double by reference, but that conversion
-  // is left to higher-level code.  Perhaps we could add an f128 definition
-  // here for code that doesn't care about the ABI?
 ]>;
 
 
//===--===//

Modified: llvm/branches/release_37/lib/Target/SystemZ/SystemZISelLowering.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Target/SystemZ/SystemZISelLowering.cpp?rev=244909&r1=244908&r2=244909&view=diff
==
--- llvm/branches/release_37/lib/Target/SystemZ/SystemZISelLowering.cpp 
(original)
+++ llvm/branches/release_37/lib/Target/SystemZ/SystemZISelLowering.cpp Thu Aug 
13 11:38:56 2015
@@ -1175,6 +1175,20 @@ SystemZTargetLowering::LowerCall(CallLow
   return Chain;
 }
 
+bool SystemZTargetLowering::
+CanLowerRe

[llvm-branch-commits] [lldb] r244964 - Merging r244864:

2015-08-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 13 17:07:24 2015
New Revision: 244964

URL: http://llvm.org/viewvc/llvm-project?rev=244964&view=rev
Log:
Merging r244864:

r244864 | jaydeep | 2015-08-12 20:44:09 -0700 (Wed, 12 Aug 2015) | 12 lines

[LLDB][MIPS] Handle false positives for MIPS hardware watchpoints
SUMMARY:
Last 3bits of the watchpoint address are masked by the kernel. For example, 
n is 
at 0x120010d00 and m is 0x120010d04. When a watchpoint is set at m, then 
watch 
exception is generated even when n is read/written. To handle this case, 
instruction 
at PC is emulated to find the base address of the load/store instruction. 
This address 
is then appended to the description of the stop-info packet. Client then 
reads this 
information to check whether the user has set a watchpoint on this address.

Reviewers: jingham, clayborg
Subscribers: nitesh.jain, mohit.bhakkad, sagar, bhushan and lldb-commits
Differential Revision: http://reviews.llvm.org/D11672


Modified:
lldb/branches/release_37/   (props changed)
lldb/branches/release_37/include/lldb/Host/common/NativeRegisterContext.h
lldb/branches/release_37/include/lldb/Target/StopInfo.h
lldb/branches/release_37/source/Host/common/NativeRegisterContext.cpp

lldb/branches/release_37/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp

lldb/branches/release_37/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h

lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp

lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h
lldb/branches/release_37/source/Plugins/Process/Linux/NativeThreadLinux.cpp

lldb/branches/release_37/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/branches/release_37/source/Target/StopInfo.cpp

Propchange: lldb/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 13 17:07:24 2015
@@ -1,3 +1,3 @@
 /lldb/branches/apple/python-GIL:156467-162159
 /lldb/branches/iohandler:198360-200250
-/lldb/trunk:242306,242381,242525,242529,243091,243618,244006
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864

Modified: 
lldb/branches/release_37/include/lldb/Host/common/NativeRegisterContext.h
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/include/lldb/Host/common/NativeRegisterContext.h?rev=244964&r1=244963&r2=244964&view=diff
==
--- lldb/branches/release_37/include/lldb/Host/common/NativeRegisterContext.h 
(original)
+++ lldb/branches/release_37/include/lldb/Host/common/NativeRegisterContext.h 
Thu Aug 13 17:07:24 2015
@@ -111,6 +111,19 @@ public:
 virtual lldb::addr_t
 GetWatchpointAddress (uint32_t wp_index);
 
+// MIPS Linux kernel returns a masked address (last 3bits are masked)
+// when a HW watchpoint is hit. However user may not have set a watchpoint
+// on this address. This function emulates the instruction at PC and 
+// finds the base address used in the load/store instruction. This gives 
the 
+// exact address used to read/write the variable being watched.
+// For example:
+// 'n' is at 0x120010d00 and 'm' is 0x120010d04. When a watchpoint is set 
at 'm', 
+// then watch exception is generated even when 'n' is read/written. This 
function
+// returns address of 'n' so that client can check whether a watchpoint is 
set
+// on this address or not.
+virtual lldb::addr_t
+GetWatchpointHitAddress (uint32_t wp_index);
+
 virtual bool
 HardwareSingleStep (bool enable);
 

Modified: lldb/branches/release_37/include/lldb/Target/StopInfo.h
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/include/lldb/Target/StopInfo.h?rev=244964&r1=244963&r2=244964&view=diff
==
--- lldb/branches/release_37/include/lldb/Target/StopInfo.h (original)
+++ lldb/branches/release_37/include/lldb/Target/StopInfo.h Thu Aug 13 17:07:24 
2015
@@ -161,7 +161,7 @@ public:
 CreateStopReasonWithBreakpointSiteID (Thread &thread, lldb::break_id_t 
break_id, bool should_stop);
 
 static lldb::StopInfoSP
-CreateStopReasonWithWatchpointID (Thread &thread, lldb::break_id_t 
watch_id);
+CreateStopReasonWithWatchpointID (Thread &thread, lldb::break_id_t 
watch_id, lldb::addr_t watch_hit_addr = LLDB_INVALID_ADDRESS);
 
 static lldb::StopInfoSP
 CreateStopReasonWithSignal (Thread &thread, int signo, const char 
*description = nullptr);

Modified: lldb/branches/release_37/source/Host/common/NativeRegisterContext.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37

[llvm-branch-commits] [lldb] r244965 - Merging r244865:

2015-08-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 13 17:10:42 2015
New Revision: 244965

URL: http://llvm.org/viewvc/llvm-project?rev=244965&view=rev
Log:
Merging r244865:

r244865 | jaydeep | 2015-08-12 20:46:01 -0700 (Wed, 12 Aug 2015) | 8 lines

[LLDB][MIPS] Support standard GDB remote stop reply packet for watchpoint
SUMMARY:
The patch supports TAAwatch:addr packet. The patch also sets 
m_watchpoints_trigger_after_instruction 
to eLazyBoolNo when qHostInfo or qWatchpointSupportInfo is not supported by 
the target.

Reviewers: jingham, clayborg
Subscribers: nitesh.jain, mohit.bhakkad, sagar, bhushan and lldb-commits
Differential Revision: http://reviews.llvm.org/D11747


Modified:
lldb/branches/release_37/   (props changed)

lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h

lldb/branches/release_37/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Propchange: lldb/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 13 17:10:42 2015
@@ -1,3 +1,3 @@
 /lldb/branches/apple/python-GIL:156467-162159
 /lldb/branches/iohandler:198360-200250
-/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244865

Modified: 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=244965&r1=244964&r2=244965&view=diff
==
--- 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 (original)
+++ 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 Thu Aug 13 17:10:42 2015
@@ -2472,26 +2472,45 @@ GDBRemoteCommunicationClient::GetWatchpo
 }
 
 lldb_private::Error
-GDBRemoteCommunicationClient::GetWatchpointSupportInfo (uint32_t &num, bool& 
after)
+GDBRemoteCommunicationClient::GetWatchpointSupportInfo (uint32_t &num, bool& 
after, const ArchSpec &arch)
 {
 Error error(GetWatchpointSupportInfo(num));
 if (error.Success())
-error = GetWatchpointsTriggerAfterInstruction(after);
+error = GetWatchpointsTriggerAfterInstruction(after, arch);
 return error;
 }
 
 lldb_private::Error
-GDBRemoteCommunicationClient::GetWatchpointsTriggerAfterInstruction (bool 
&after)
+GDBRemoteCommunicationClient::GetWatchpointsTriggerAfterInstruction (bool 
&after, const ArchSpec &arch)
 {
 Error error;
+llvm::Triple::ArchType atype = arch.GetMachine();
 
 // we assume watchpoints will happen after running the relevant opcode
 // and we only want to override this behavior if we have explicitly
 // received a qHostInfo telling us otherwise
 if (m_qHostInfo_is_valid != eLazyBoolYes)
-after = true;
+{
+// On targets like MIPS, watchpoint exceptions are always generated 
+// before the instruction is executed. The connected target may not 
+// support qHostInfo or qWatchpointSupportInfo packets.
+if (atype == llvm::Triple::mips || atype == llvm::Triple::mipsel
+|| atype == llvm::Triple::mips64 || atype == 
llvm::Triple::mips64el)
+after = false;
+else
+after = true;
+}
 else
+{
+// For MIPS, set m_watchpoints_trigger_after_instruction to 
eLazyBoolNo 
+// if it is not calculated before.
+if (m_watchpoints_trigger_after_instruction == eLazyBoolCalculate &&
+(atype == llvm::Triple::mips || atype == llvm::Triple::mipsel
+|| atype == llvm::Triple::mips64 || atype == 
llvm::Triple::mips64el))
+m_watchpoints_trigger_after_instruction = eLazyBoolNo;
+
 after = (m_watchpoints_trigger_after_instruction != eLazyBoolNo);
+}
 return error;
 }
 

Modified: 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h?rev=244965&r1=244964&r2=244965&view=diff
==
--- 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
 (original)
+++ 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
 Thu Aug 13 17:10:42 2015
@@ -287,10 +287,10 @@ public:
 GetWatchpointSupportInfo (uint32_t &num); 
 
 Error
-GetWatchpointSupportInfo (u

[llvm-branch-commits] [lldb] r244967 - Merging r244866:

2015-08-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 13 17:11:42 2015
New Revision: 244967

URL: http://llvm.org/viewvc/llvm-project?rev=244967&view=rev
Log:
Merging r244866:

r244866 | jaydeep | 2015-08-12 20:46:36 -0700 (Wed, 12 Aug 2015) | 7 lines

[LLDB][MIPS] Use qfThreadID if qC packet is not supported by target
SUMMARY:
The patch uses qfThreadID to get the thread IDs if qC packet is not 
supported by target.

Reviewers: jingham, clayborg
Subscribers: nitesh.jain, mohit.bhakkad, sagar, bhushan and lldb-commits
Differential Revision: http://reviews.llvm.org/D11519


Modified:
lldb/branches/release_37/   (props changed)

lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Propchange: lldb/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 13 17:11:42 2015
@@ -1,3 +1,3 @@
 /lldb/branches/apple/python-GIL:156467-162159
 /lldb/branches/iohandler:198360-200250
-/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244865
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866

Modified: 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=244967&r1=244966&r2=244967&view=diff
==
--- 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 (original)
+++ 
lldb/branches/release_37/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 Thu Aug 13 17:11:42 2015
@@ -1459,6 +1459,21 @@ GDBRemoteCommunicationClient::GetCurrent
 }
 }
 }
+
+// If we don't get a response for $qC, check if $qfThreadID gives us a 
result.
+if (m_curr_pid == LLDB_INVALID_PROCESS_ID)
+{
+std::vector thread_ids;
+bool sequence_mutex_unavailable;
+size_t size;
+size = GetCurrentThreadIDs (thread_ids, 
sequence_mutex_unavailable);
+if (size && sequence_mutex_unavailable == false)
+{
+m_curr_pid = thread_ids.front();
+m_curr_pid_is_valid = eLazyBoolYes;
+return m_curr_pid;
+}
+}
 }
 
 return LLDB_INVALID_PROCESS_ID;


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245077 - Merging r243851:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 13:08:54 2015
New Revision: 245077

URL: http://llvm.org/viewvc/llvm-project?rev=245077&view=rev
Log:
Merging r243851:

r243851 | rksimon | 2015-08-02 08:28:10 -0700 (Sun, 02 Aug 2015) | 7 lines

Fix invalid shufflevector operands

This patch fixes bug 23800 ( https://llvm.org/bugs/show_bug.cgi?id=23800#c2 ). 
There existed a case where the index operand from extractelement was directly 
used to create a shufflevector mask. Since the index can be of any integral 
type but the mask must only contain 32 bit integers a 64 bit index operand led 
to an assertion error later on.

Committed on behalf of mpflanzer (Moritz Pflanzer)

Differential Revision: http://reviews.llvm.org/D10838


Added:
cfe/branches/release_37/test/CodeGenOpenCL/vector_shufflevector_valid.cl
  - copied unchanged from r243851, 
cfe/trunk/test/CodeGenOpenCL/vector_shufflevector_valid.cl
Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/CodeGen/CGExprScalar.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 13:08:54 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243945-243950,243964,244000,244719,244794
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244719,244794
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/CodeGen/CGExprScalar.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/CodeGen/CGExprScalar.cpp?rev=245077&r1=245076&r2=245077&view=diff
==
--- cfe/branches/release_37/lib/CodeGen/CGExprScalar.cpp (original)
+++ cfe/branches/release_37/lib/CodeGen/CGExprScalar.cpp Fri Aug 14 13:08:54 
2015
@@ -1166,6 +1166,16 @@ static llvm::Constant *getMaskElt(llvm::
   return llvm::ConstantInt::get(I32Ty, Off+MV);
 }
 
+static llvm::Constant *getAsInt32(llvm::ConstantInt *C, llvm::Type *I32Ty) {
+  if (C->getBitWidth() != 32) {
+  assert(llvm::ConstantInt::isValueValidForType(I32Ty,
+C->getZExtValue()) &&
+ "Index operand too large for shufflevector mask!");
+  return llvm::ConstantInt::get(I32Ty, C->getZExtValue());
+  }
+  return C;
+}
+
 Value *ScalarExprEmitter::VisitInitListExpr(InitListExpr *E) {
   bool Ignore = TestAndClearIgnoreResultAssign();
   (void)Ignore;
@@ -1216,7 +1226,8 @@ Value *ScalarExprEmitter::VisitInitListE
   Value *LHS = nullptr, *RHS = nullptr;
   if (CurIdx == 0) {
 // insert into undef -> shuffle (src, undef)
-Args.push_back(C);
+// shufflemask must use an i32
+Args.push_back(getAsInt32(C, CGF.Int32Ty));
 Args.resize(ResElts, llvm::UndefValue::get(CGF.Int32Ty));
 
 LHS = EI->getVectorOperand();


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245080 - Merging r244332:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 13:34:33 2015
New Revision: 245080

URL: http://llvm.org/viewvc/llvm-project?rev=245080&view=rev
Log:
Merging r244332:

r244332 | tstellar | 2015-08-07 09:45:33 -0700 (Fri, 07 Aug 2015) | 9 lines

AMDGPU/SI: Use correct encoding of vopc for VI in the assembler

Summary: We were using the SI encoding for VI.

Reviewers: arsenm

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11812


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Target/AMDGPU/SIInstrInfo.td
llvm/branches/release_37/test/MC/AMDGPU/vopc.s

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 13:34:33 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244418,244554,244644,244676,244789,244889
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244332,244418,244554,244644,244676,244789,244889

Modified: llvm/branches/release_37/lib/Target/AMDGPU/SIInstrInfo.td
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Target/AMDGPU/SIInstrInfo.td?rev=245080&r1=245079&r2=245080&view=diff
==
--- llvm/branches/release_37/lib/Target/AMDGPU/SIInstrInfo.td (original)
+++ llvm/branches/release_37/lib/Target/AMDGPU/SIInstrInfo.td Fri Aug 14 
13:34:33 2015
@@ -1600,12 +1600,14 @@ multiclass VOPC_m  {
 let Defs = !if(DefExec, [EXEC], []);
 let hasSideEffects = DefExec;
+let AssemblerPredicates = [isSICI];
   }
 
   def _vi : VOPC,
 SIMCInstr  {
 let Defs = !if(DefExec, [EXEC], []);
 let hasSideEffects = DefExec;
+let AssemblerPredicates = [isVI];
   }
 }
 

Modified: llvm/branches/release_37/test/MC/AMDGPU/vopc.s
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/test/MC/AMDGPU/vopc.s?rev=245080&r1=245079&r2=245080&view=diff
==
--- llvm/branches/release_37/test/MC/AMDGPU/vopc.s (original)
+++ llvm/branches/release_37/test/MC/AMDGPU/vopc.s Fri Aug 14 13:34:33 2015
@@ -1,5 +1,6 @@
-// RUN: llvm-mc -arch=amdgcn -show-encoding %s | FileCheck %s
-// RUN: llvm-mc -arch=amdgcn -mcpu=SI -show-encoding %s | FileCheck %s
+// RUN: llvm-mc -arch=amdgcn -show-encoding %s | FileCheck %s 
--check-prefix=SICI
+// RUN: llvm-mc -arch=amdgcn -mcpu=SI -show-encoding %s | FileCheck %s 
--check-prefix=SICI
+// RUN: llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s | FileCheck %s 
--check-prefix=VI
 
 
//===--===//
 // Generic Checks
@@ -7,23 +8,28 @@
 
 // src0 sgpr
 v_cmp_lt_f32 vcc, s2, v4
-// CHECK: v_cmp_lt_f32_e32 vcc, s2, v4 ; encoding: [0x02,0x08,0x02,0x7c]
+// SICI: v_cmp_lt_f32_e32 vcc, s2, v4 ; encoding: [0x02,0x08,0x02,0x7c]
+// VI:   v_cmp_lt_f32_e32 vcc, s2, v4 ; encoding: [0x02,0x08,0x82,0x7c]
 
 // src0 inline immediate
 v_cmp_lt_f32 vcc, 0, v4
-// CHECK: v_cmp_lt_f32_e32 vcc, 0, v4 ; encoding: [0x80,0x08,0x02,0x7c]
+// SICI: v_cmp_lt_f32_e32 vcc, 0, v4 ; encoding: [0x80,0x08,0x02,0x7c]
+// VI:   v_cmp_lt_f32_e32 vcc, 0, v4 ; encoding: [0x80,0x08,0x82,0x7c]
 
 // src0 literal
 v_cmp_lt_f32 vcc, 10.0, v4
-// CHECK: v_cmp_lt_f32_e32 vcc, 0x4120, v4 ; encoding: 
[0xff,0x08,0x02,0x7c,0x00,0x00,0x20,0x41]
+// SICI: v_cmp_lt_f32_e32 vcc, 0x4120, v4 ; encoding: 
[0xff,0x08,0x02,0x7c,0x00,0x00,0x20,0x41]
+// VI:   v_cmp_lt_f32_e32 vcc, 0x4120, v4 ; encoding: 
[0xff,0x08,0x82,0x7c,0x00,0x00,0x20,0x41]
 
 // src0, src1 max vgpr
 v_cmp_lt_f32 vcc, v255, v255
-// CHECK: v_cmp_lt_f32_e32 vcc, v255, v255 ; encoding: [0xff,0xff,0x03,0x7c]
+// SICI: v_cmp_lt_f32_e32 vcc, v255, v255 ; encoding: [0xff,0xff,0x03,0x7c]
+// VI:   v_cmp_lt_f32_e32 vcc, v255, v255 ; encoding: [0xff,0xff,0x83,0x7c]
 
 // force 32-bit encoding
 v_cmp_lt_f32_e32 vcc, v2, v4
-// CHECK: v_cmp_lt_f32_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x02,0x7c]
+// SICI: v_cmp_lt_f32_e32 vcc, v2, v4 ; encoding: 

[llvm-branch-commits] [llvm-branch] r245088 - Merging r244232 and r244659:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 14:51:38 2015
New Revision: 245088

URL: http://llvm.org/viewvc/llvm-project?rev=245088&view=rev
Log:
Merging r244232 and r244659:

r244232 | rnk | 2015-08-06 10:17:44 -0700 (Thu, 06 Aug 2015) | 5 lines

[cmake] Handle Dragonfly BSD like FreeBSD

Fixes build break reported in PR24358.

Patch by John Marino.



r244659 | rnk | 2015-08-11 13:28:28 -0700 (Tue, 11 Aug 2015) | 3 lines

[cmake] Shorten FreeBSD and DragonFly checks as suggested post-commit

NFC


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/CMakeLists.txt

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 14:51:38 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244332,244418,244554,244644,244676,244789,244889
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889

Modified: llvm/branches/release_37/CMakeLists.txt
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/CMakeLists.txt?rev=245088&r1=245087&r2=245088&view=diff
==
--- llvm/branches/release_37/CMakeLists.txt (original)
+++ llvm/branches/release_37/CMakeLists.txt Fri Aug 14 14:51:38 2015
@@ -518,7 +518,7 @@ if (APPLE)
 else(UNIX)
   if(NOT DEFINED CMAKE_INSTALL_RPATH)
 set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}")
-if (${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
+if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
   set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,origin")
   set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} 
-Wl,-z,origin")
 endif()
@@ -544,12 +544,12 @@ if(LLVM_USE_HOST_TOOLS)
   include(CrossCompile)
 endif(LLVM_USE_HOST_TOOLS)
 
-if( ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD )
+if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
   # On FreeBSD, /usr/local/* is not used by default. In order to build LLVM
   # with libxml2, iconv.h, etc., we must add /usr/local paths.
   include_directories("/usr/local/include")
   link_directories("/usr/local/lib")
-endif( ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD )
+endif(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
 
 if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include llvm/Support/Solaris.h")


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245095 - Merging r243133:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 15:59:12 2015
New Revision: 245095

URL: http://llvm.org/viewvc/llvm-project?rev=245095&view=rev
Log:
Merging r243133:

r243133 | chh | 2015-07-24 11:12:54 -0700 (Fri, 24 Jul 2015) | 8 lines

Correct x86_64 Android fp128 mangled name

These changes are for Android x86_64 targets to be compatible with current 
Android g++.
https://llvm.org/bugs/show_bug.cgi?id=23897
Use 'g' and 'Cg' for "long double" and "long double _Complex" mangled type 
names.

Differential Revision: http://reviews.llvm.org/D11466



Added:
cfe/branches/release_37/test/CodeGen/long_double_fp128.cpp
  - copied unchanged from r243133, 
cfe/trunk/test/CodeGen/long_double_fp128.cpp
Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/Basic/Targets.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 15:59:12 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244719,244794
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244719,244794
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/Basic/Targets.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/Basic/Targets.cpp?rev=245095&r1=245094&r2=245095&view=diff
==
--- cfe/branches/release_37/lib/Basic/Targets.cpp (original)
+++ cfe/branches/release_37/lib/Basic/Targets.cpp Fri Aug 14 15:59:12 2015
@@ -6968,6 +6968,10 @@ public:
   : LinuxTargetInfo(Triple) {
 LongDoubleFormat = &llvm::APFloat::IEEEquad;
   }
+
+  bool useFloat128ManglingForLongDouble() const override {
+return true;
+  }
 };
 } // end anonymous namespace
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245096 - Merging r244468:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 16:00:50 2015
New Revision: 245096

URL: http://llvm.org/viewvc/llvm-project?rev=245096&view=rev
Log:
Merging r244468:

r244468 | chh | 2015-08-10 10:33:31 -0700 (Mon, 10 Aug 2015) | 15 lines

Correct x86_64 fp128 calling convention

These changes are for Android x86_64 targets to be compatible
with current Android g++ and conform to AMD64 ABI.

https://llvm.org/bugs/show_bug.cgi?id=23897
  * Return type of long double (fp128) should be fp128, not x86_fp80.
  * Vararg of long double (fp128) could be in register and overflowed to memory.

https://llvm.org/bugs/show_bug.cgi?id=24111
  * Return value of long double (fp128) _Complex should be in memory like a 
structure of {fp128,fp128}.

Differential Revision: http://reviews.llvm.org/D11437




Added:
cfe/branches/release_37/test/CodeGen/x86_64-fp128.c
  - copied unchanged from r244468, cfe/trunk/test/CodeGen/x86_64-fp128.c
Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/CodeGen/TargetInfo.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 16:00:50 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244719,244794
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244468,244719,244794
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/CodeGen/TargetInfo.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/CodeGen/TargetInfo.cpp?rev=245096&r1=245095&r2=245096&view=diff
==
--- cfe/branches/release_37/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/branches/release_37/lib/CodeGen/TargetInfo.cpp Fri Aug 14 16:00:50 2015
@@ -1858,13 +1858,20 @@ void X86_64ABIInfo::classify(QualType Ty
   Hi = Integer;
 } else if (k >= BuiltinType::Bool && k <= BuiltinType::LongLong) {
   Current = Integer;
-} else if ((k == BuiltinType::Float || k == BuiltinType::Double) ||
-   (k == BuiltinType::LongDouble &&
-getTarget().getTriple().isOSNaCl())) {
+} else if (k == BuiltinType::Float || k == BuiltinType::Double) {
   Current = SSE;
 } else if (k == BuiltinType::LongDouble) {
-  Lo = X87;
-  Hi = X87Up;
+  const llvm::fltSemantics *LDF = &getTarget().getLongDoubleFormat();
+  if (LDF == &llvm::APFloat::IEEEquad) {
+Lo = SSE;
+Hi = SSEUp;
+  } else if (LDF == &llvm::APFloat::x87DoubleExtended) {
+Lo = X87;
+Hi = X87Up;
+  } else if (LDF == &llvm::APFloat::IEEEdouble) {
+Current = SSE;
+  } else
+llvm_unreachable("unexpected long double representation!");
 }
 // FIXME: _Decimal32 and _Decimal64 are SSE.
 // FIXME: _float128 and _Decimal128 are (SSE, SSEUp).
@@ -1967,14 +1974,21 @@ void X86_64ABIInfo::classify(QualType Ty
 Current = Integer;
   else if (Size <= 128)
 Lo = Hi = Integer;
-} else if (ET == getContext().FloatTy)
+} else if (ET == getContext().FloatTy) {
   Current = SSE;
-else if (ET == getContext().DoubleTy ||
- (ET == getContext().LongDoubleTy &&
-  getTarget().getTriple().isOSNaCl()))
+} else if (ET == getContext().DoubleTy) {
   Lo = Hi = SSE;
-else if (ET == getContext().LongDoubleTy)
-  Current = ComplexX87;
+} else if (ET == getContext().LongDoubleTy) {
+  const llvm::fltSemantics *LDF = &getTarget().getLongDoubleFormat();
+  if (LDF == &llvm::APFloat::IEEEquad)
+Current = Memory;
+  else if (LDF == &llvm::APFloat::x87DoubleExtended)
+Current = ComplexX87;
+  else if (LDF == &llvm::APFloat::IEEEdouble)
+Lo = Hi = SSE;
+  else
+llvm_unreachable("unexpected long double representation!");
+}
 
 // If this complex type crosses an eightbyte boundary then it
 // should be split.
@@ -2243,7 +2257,8 @@ llvm::Type *X86_64ABIInfo::GetByteVector
 Ty = QualType(InnerTy, 0);
 
   llvm::Type *IRType = CGT.ConvertType(Ty);
-  if(isa(IRType))
+  if (isa(IRType) ||
+  IRType->getTypeID() == llvm::

[llvm-branch-commits] [llvm-branch] r245099 - ReleaseNotes: the BPF backend

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 16:15:48 2015
New Revision: 245099

URL: http://llvm.org/viewvc/llvm-project?rev=245099&view=rev
Log:
ReleaseNotes: the BPF backend

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245099&r1=245098&r2=245099&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Fri Aug 14 16:15:48 2015
@@ -66,6 +66,10 @@ Non-comprehensive list of changes in thi
 
 * llvm-ar can create archives in the BSD format used by OS X.
 
+* LLVM received a backend for the extended Berkely Packet Filter
+  instruction set that can be dynamically loaded into the Linux kernel via the
+  `bpf(2) `_ syscall.
+
 * ... next change ...
 
 .. NOTE


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245101 - ReleaseNotes: BPF Compiler Collection

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 16:19:40 2015
New Revision: 245101

URL: http://llvm.org/viewvc/llvm-project?rev=245101&view=rev
Log:
ReleaseNotes: BPF Compiler Collection

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245101&r1=245100&r2=245101&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Fri Aug 14 16:19:40 2015
@@ -265,6 +265,11 @@ new LLVM-based code generators "on the f
 loads them in to the compiler backend as runtime libraries to avoid
 per-target recompilation of larger parts of the compiler chain.
 
+BPF Compiler Collection (BCC)
+-
+`BCC `_ is a Python + C framework for tracing 
and
+networking that is using Clang rewriter + 2nd pass of Clang + BPF backend to
+generate eBPF and push it into the kernel.
 
 Additional Information
 ==


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245102 - ReleaseNotes: System/Z changes. By Ulrich Weigand

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 16:52:59 2015
New Revision: 245102

URL: http://llvm.org/viewvc/llvm-project?rev=245102&view=rev
Log:
ReleaseNotes: System/Z changes. By Ulrich Weigand

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245102&r1=245101&r2=245102&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Fri Aug 14 16:52:59 2015
@@ -205,6 +205,23 @@ There are numerous improvements to the P
 
 * Many bugs have been identified and fixed.
 
+Changes to the System/Z Target
+--
+
+* LLVM no longer attempts to automatically detect the current host CPU when
+  invoked natively.
+
+* Support for all thread-local storage models. (Previous releases would support
+  only the local-exec TLS model.)
+
+* The POPCNT instruction is now used on z196 and above.
+
+* The RISBGN instruction is now used on zEC12 and above.
+
+* Support for the transactional-execution facility on zEC12 and above.
+
+* Support for the z13 processor and its vector facility.
+
 
 Changes to the OCaml bindings
 -


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245104 - ReleaseNotes: System/Z changes. By Ulrich Weigand

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 17:00:17 2015
New Revision: 245104

URL: http://llvm.org/viewvc/llvm-project?rev=245104&view=rev
Log:
ReleaseNotes: System/Z changes. By Ulrich Weigand

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=245104&r1=245103&r2=245104&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Fri Aug 14 17:00:17 2015
@@ -196,6 +196,40 @@ Static Analyzer
 
 ...
 
+System/Z
+
+
+* Clang will now always default to the z10 processor when compiling
+  without any ``-march=`` option. Previous releases used to automatically
+  detect the current host CPU when compiling natively. If you wish to
+  still have clang detect the current host CPU, you now need to use the
+  ``-march=native`` option.
+
+* Clang now provides the  header file.
+
+* Clang now supports the transactional-execution facility and
+  provides associated builtins and the  and
+   header files. Support is enabled by default
+  on zEC12 and above, and can additionally be enabled or disabled
+  via the ``-mhtm`` / ``-mno-htm`` command line options.
+
+* Clang now supports the vector facility. This includes a
+  change in the ABI to pass arguments and return values of
+  vector types in vector registers, as well as a change in
+  the default alignment of vector types. Support is enabled
+  by default on z13 and above, and can additionally be enabled
+  or disabled via the ``-mvx`` / ``-mno-vx`` command line options.
+
+* Clang now supports the System z vector language extension,
+  providing a "vector" keyword to define vector types, and a
+  set of builtins defined in the  header file.
+  This can be enabled via the ``-fzvector`` command line option.
+  For compatibility with GCC, Clang also supports the
+  ``-mzvector`` option as an alias.
+ 
+* Several cases of ABI incompatibility with GCC have been fixed.
+
+
 Core Analysis Improvements
 ==
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245109 - ReleaseNotes: switch lowering

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 17:31:50 2015
New Revision: 245109

URL: http://llvm.org/viewvc/llvm-project?rev=245109&view=rev
Log:
ReleaseNotes: switch lowering

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245109&r1=245108&r2=245109&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Fri Aug 14 17:31:50 2015
@@ -70,6 +70,11 @@ Non-comprehensive list of changes in thi
   instruction set that can be dynamically loaded into the Linux kernel via the
   `bpf(2) `_ syscall.
 
+* Switch-case lowering was rewritten to avoid generating unbalanced search 
trees
+  (`PR22262 `_) and to exploit profile information
+  when available. Some lowering strategies are now disabled when optimizations
+  are turned off, to save compile time.
+
 * ... next change ...
 
 .. NOTE


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245112 - Merging r245105:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 17:34:33 2015
New Revision: 245112

URL: http://llvm.org/viewvc/llvm-project?rev=245112&view=rev
Log:
Merging r245105:

r245105 | ast | 2015-08-14 15:00:45 -0700 (Fri, 14 Aug 2015) | 1 line

[bpf] add documentation and instruction set description


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/docs/CodeGenerator.rst

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 17:34:33 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245105

Modified: llvm/branches/release_37/docs/CodeGenerator.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/CodeGenerator.rst?rev=245112&r1=245111&r2=245112&view=diff
==
--- llvm/branches/release_37/docs/CodeGenerator.rst (original)
+++ llvm/branches/release_37/docs/CodeGenerator.rst Fri Aug 14 17:34:33 2015
@@ -1814,6 +1814,7 @@ Here is the table:
 :raw-html:`SystemZ`
 :raw-html:`X86`
 :raw-html:`XCore`
+:raw-html:`eBPF`
 :raw-html:``
 
 :raw-html:``
@@ -1828,6 +1829,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:` `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -1842,6 +1844,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:` `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -1856,6 +1859,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:` `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -1870,6 +1874,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:` `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -1884,6 +1889,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:` `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -1898,6 +1904,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:` `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -1912,6 +1919,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:` `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -1926,6 +1934,7 @@ Here is the table:
 :raw-html:` `
 :raw-html:`* `
 :raw-html:` `
+:raw-html:` `
 :raw-html:``
 
 :raw-html:``
@@ -2448,3 +2457,191 @@ Code Generator Options:
 :raw-html:``
 :raw-html:``
 
+The extended Berkeley Packet Filter (eBPF) backend
+--
+
+Extended BPF (or eBPF) is similar to the original ("classic") BPF (cBPF) used
+to filter network packets.  The
+`bpf() system call `_
+performs a range of operations related to eBPF.  For both cBPF and eBPF
+programs, the Linux kernel statically analyzes the programs before loading
+them, in order to ensure that they cannot harm the running system.  eBPF is
+a 64-bit RISC instruction set designed for one to one mapping to 64-bit CPUs.
+Opcodes are 8-bit encoded, and 87 instructions are defined.  There are 10
+registers, grouped by function as outlined below.
+
+::
+
+  R0return value from in-kernel functions; exit value for eBPF program
+  R1 - R5   function call arguments to in-kernel functions
+  R6 - R9   callee-saved registers preserved by in-kernel functions
+  R10   stack frame pointer (read only)
+
+Instruction encoding (arithmetic and jump)
+^^
+eBPF is reusing most of the opcode encoding from classic to simplify conversion
+of classic BPF to eBPF.  For arithmetic and jump instructions the 8-bit 'code'
+field is divided into three parts:
+
+::
+
+  ++++
+  |   4 bits   |  1 bit |   3 bits   |
+  | operation code | source | instruction class  |
+  ++++
+  (MSB)  (LSB)
+
+Three LSB bits store instruction class which is one of:

[llvm-branch-commits] [compiler-rt-branch] r245114 - Merging r244101:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 17:40:35 2015
New Revision: 245114

URL: http://llvm.org/viewvc/llvm-project?rev=245114&view=rev
Log:
Merging r244101:

r244101 | samsonov | 2015-08-05 12:35:46 -0700 (Wed, 05 Aug 2015) | 6 lines

[UBSan] Fix UBSan-vptr false positive.

Offset from vptr to the start of most-derived object can actually
be positive in some virtual base class vtables.

Patch by Stephan Bergmann!


Added:

compiler-rt/branches/release_37/test/ubsan/TestCases/TypeCheck/vptr-virtual-base-construction.cpp
  - copied unchanged from r244101, 
compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr-virtual-base-construction.cpp
Modified:
compiler-rt/branches/release_37/   (props changed)
compiler-rt/branches/release_37/lib/ubsan/ubsan_type_hash_itanium.cc

Propchange: compiler-rt/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 17:40:35 2015
@@ -1 +1 @@
-/compiler-rt/trunk:242350,242424,242444,242449,242539-242540,242647,242651,243170,243384,243604,243615,243686,244002,244646
+/compiler-rt/trunk:242350,242424,242444,242449,242539-242540,242647,242651,243170,243384,243604,243615,243686,244002,244101,244646

Modified: compiler-rt/branches/release_37/lib/ubsan/ubsan_type_hash_itanium.cc
URL: 
http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_37/lib/ubsan/ubsan_type_hash_itanium.cc?rev=245114&r1=245113&r2=245114&view=diff
==
--- compiler-rt/branches/release_37/lib/ubsan/ubsan_type_hash_itanium.cc 
(original)
+++ compiler-rt/branches/release_37/lib/ubsan/ubsan_type_hash_itanium.cc Fri 
Aug 14 17:40:35 2015
@@ -185,8 +185,8 @@ namespace {
 
 struct VtablePrefix {
   /// The offset from the vptr to the start of the most-derived object.
-  /// This should never be greater than zero, and will usually be exactly
-  /// zero.
+  /// This will only be greater than zero in some virtual base class vtables
+  /// used during object con-/destruction, and will usually be exactly zero.
   sptr Offset;
   /// The type_info object describing the most-derived class type.
   std::type_info *TypeInfo;
@@ -196,7 +196,7 @@ VtablePrefix *getVtablePrefix(void *Vtab
   if (!Vptr)
 return 0;
   VtablePrefix *Prefix = Vptr - 1;
-  if (Prefix->Offset > 0 || !Prefix->TypeInfo)
+  if (!Prefix->TypeInfo)
 // This can't possibly be a valid vtable.
 return 0;
   return Prefix;


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245116 - Merging r244193:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 17:43:37 2015
New Revision: 245116

URL: http://llvm.org/viewvc/llvm-project?rev=245116&view=rev
Log:
Merging r244193:

r244193 | alexdenisov | 2015-08-05 21:51:14 -0700 (Wed, 05 Aug 2015) | 3 lines

[ObjC] Circular containers: add support of subclasses




Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/include/clang/AST/NSAPI.h
cfe/branches/release_37/include/clang/Basic/DiagnosticSemaKinds.td
cfe/branches/release_37/include/clang/Sema/Sema.h
cfe/branches/release_37/lib/AST/NSAPI.cpp
cfe/branches/release_37/lib/Sema/SemaChecking.cpp
cfe/branches/release_37/test/SemaObjC/circular-container.m

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 17:43:37 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244468,244719,244794
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244468,244719,244794
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/include/clang/AST/NSAPI.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/include/clang/AST/NSAPI.h?rev=245116&r1=245115&r2=245116&view=diff
==
--- cfe/branches/release_37/include/clang/AST/NSAPI.h (original)
+++ cfe/branches/release_37/include/clang/AST/NSAPI.h Fri Aug 14 17:43:37 2015
@@ -16,6 +16,7 @@
 
 namespace clang {
   class ASTContext;
+  class ObjCInterfaceDecl;
   class QualType;
   class Expr;
 
@@ -35,11 +36,10 @@ public:
 ClassId_NSMutableDictionary,
 ClassId_NSNumber,
 ClassId_NSMutableSet,
-ClassId_NSCountedSet,
 ClassId_NSMutableOrderedSet,
 ClassId_NSValue
   };
-  static const unsigned NumClassIds = 11;
+  static const unsigned NumClassIds = 10;
 
   enum NSStringMethodKind {
 NSStr_stringWithString,
@@ -220,6 +220,10 @@ public:
   /// \brief Returns \c true if \p Id is currently defined as a macro.
   bool isMacroDefined(StringRef Id) const;
 
+  /// \brief Returns \c true if \p InterfaceDecl is subclass of \p NSClassKind
+  bool isSubclassOfNSClass(ObjCInterfaceDecl *InterfaceDecl,
+   NSClassIdKindKind NSClassKind) const;
+
 private:
   bool isObjCTypedef(QualType T, StringRef name, IdentifierInfo *&II) const;
   bool isObjCEnumerator(const Expr *E,

Modified: cfe/branches/release_37/include/clang/Basic/DiagnosticSemaKinds.td
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/include/clang/Basic/DiagnosticSemaKinds.td?rev=245116&r1=245115&r2=245116&view=diff
==
--- cfe/branches/release_37/include/clang/Basic/DiagnosticSemaKinds.td 
(original)
+++ cfe/branches/release_37/include/clang/Basic/DiagnosticSemaKinds.td Fri Aug 
14 17:43:37 2015
@@ -5358,7 +5358,7 @@ def err_objc_object_catch : Error<
 def err_incomplete_type_objc_at_encode : Error<
   "'@encode' of incomplete type %0">;
 def warn_objc_circular_container : Warning<
-  "adding '%0' to '%0' might cause circular dependency in container">,
+  "adding '%0' to '%1' might cause circular dependency in container">,
   InGroup>;
 def note_objc_circular_container_declared_here : Note<"'%0' declared here">;
 

Modified: cfe/branches/release_37/include/clang/Sema/Sema.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/include/clang/Sema/Sema.h?rev=245116&r1=245115&r2=245116&view=diff
==
--- cfe/branches/release_37/include/clang/Sema/Sema.h (original)
+++ cfe/branches/release_37/include/clang/Sema/Sema.h Fri Aug 14 17:43:37 2015
@@ -729,27 +729,12 @@ public:
   /// \brief The declaration of the Objective-C NSArray class.
   ObjCInterfaceDecl *NSArrayDecl;
 
-  /// \brief Pointer to NSMutableArray type (NSMutableArray *).
-  QualType NSMutableArrayPointer;
-
   /// \brief The declaration of the arrayWithObjects:count: method.
   ObjCMethodDecl *ArrayWithObjectsMethod;
 
   /// \brief The declaration of the Objective-C NSDictionary class.
   ObjCInterfaceDecl *NSDiction

[llvm-branch-commits] [cfe-branch] r245143 - Merging r244502:

2015-08-14 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Aug 14 20:30:22 2015
New Revision: 245143

URL: http://llvm.org/viewvc/llvm-project?rev=245143&view=rev
Log:
Merging r244502:

r244502 | chh | 2015-08-10 13:58:54 -0700 (Mon, 10 Aug 2015) | 8 lines

Fix test case to work with -Asserts builds.

When clang is built with -DLLVM_ENABLE_ASSERTIONS=Off,
it does not create names for IR values.

Differential Revision: http://reviews.llvm.org/D11437




Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/test/CodeGen/x86_64-fp128.c

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 20:30:22 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244468,244719,244794
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244468,244502,244719,244794
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/test/CodeGen/x86_64-fp128.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/test/CodeGen/x86_64-fp128.c?rev=245143&r1=245142&r2=245143&view=diff
==
--- cfe/branches/release_37/test/CodeGen/x86_64-fp128.c (original)
+++ cfe/branches/release_37/test/CodeGen/x86_64-fp128.c Fri Aug 14 20:30:22 2015
@@ -31,20 +31,20 @@ typedef __builtin_va_list va_list;
 
 int TestGetVarInt(va_list ap) {
   return __builtin_va_arg(ap, int);
-// Since int can be passed in memory or in register there is a branch and a 
phi.
+// Since int can be passed in memory or register there are two branches.
 // CHECK:   define i32 @TestGetVarInt(
-// CHECK:   br
-// CHECK:   load {{.*}} %overflow_arg_area_p
+// CHECK:   br label
+// CHECK:   br label
 // CHECK:   = phi
 // CHECK:   ret i32
 }
 
 double TestGetVarDouble(va_list ap) {
   return __builtin_va_arg(ap, double);
-// Since double can be passed in memory or in register there is a branch and a 
phi.
+// Since double can be passed in memory or register there are two branches.
 // CHECK:   define double @TestGetVarDouble(
-// CHECK:   br
-// CHECK:   load {{.*}} %overflow_arg_area_p
+// CHECK:   br label
+// CHECK:   br label
 // CHECK:   = phi
 // CHECK:   ret double
 }
@@ -54,10 +54,10 @@ long double TestGetVarLD(va_list ap) {
 // fp128 can be passed in memory or in register, but x86_fp80 is in memory.
 // ANDROID: define fp128 @TestGetVarLD(
 // GNU: define x86_fp80 @TestGetVarLD(
-// ANDROID: br
-// GNU-NOT: br
-// CHECK:   load {{.*}} %overflow_arg_area_p
+// ANDROID: br label
+// ANDROID: br label
 // ANDROID: = phi
+// GNU-NOT: br
 // GNU-NOT: = phi
 // ANDROID: ret fp128
 // GNU: ret x86_fp80
@@ -69,7 +69,6 @@ long double _Complex TestGetVarLDC(va_li
 // ANDROID:   define void @TestGetVarLDC({ fp128, fp128 }* {{.*}}, 
%struct.__va_list_tag*
 // GNU:   define { x86_fp80, x86_fp80 } @TestGetVarLDC(
 // CHECK-NOT: br
-// CHECK: load {{.*}} %overflow_arg_area_p
 // CHECK-NOT: phi
 // ANDROID:   ret void
 // GNU:   ret { x86_fp80, x86_fp80 }
@@ -106,11 +105,11 @@ void TestPassVarLD(long double x) {
 void TestPassVarLDC(long double _Complex x) {
   TestVarArg("A", x);
 // ANDROID:  define void @TestPassVarLDC({ fp128, fp128 }* {{.*}} %x)
-// ANDROID:  store fp128 %x.{{.*}}, fp128* %
-// ANDROID-NEXT: store fp128 %x.{{.*}}, fp128* %
+// ANDROID:  store fp128 %{{.*}}, fp128* %
+// ANDROID-NEXT: store fp128 %{{.*}}, fp128* %
 // ANDROID-NEXT: call {{.*}} @TestVarArg(i8* {{.*}}, { fp128, fp128 }* {{.*}} %
 // GNU:  define void @TestPassVarLDC({ x86_fp80, x86_fp80 }* {{.*}} %x)
-// GNU:  store x86_fp80 %x.{{.*}}, x86_fp80* %
-// GNU-NEXT: store x86_fp80 %x.{{.*}}, x86_fp80* %
+// GNU:  store x86_fp80 %{{.*}}, x86_fp80* %
+// GNU-NEXT: store x86_fp80 %{{.*}}, x86_fp80* %
 // GNGNU-NEXT:   call {{.*}} @TestVarArg(i8* {{.*}}, { x86_fp80, x86_fp80 }* 
{{.*}} %
 }


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245229 - Merging r245041:

2015-08-17 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 17 13:27:39 2015
New Revision: 245229

URL: http://llvm.org/viewvc/llvm-project?rev=245229&view=rev
Log:
Merging r245041:

r245041 | abataev | 2015-08-14 05:25:37 -0700 (Fri, 14 Aug 2015) | 4 lines

[OPENMP] Fix for http://llvm.org/PR24371: Assert failure compiling blender 2.75.
blender uses statements expression in condition of the loop under control of 
the '#pragma omp parallel for'. This condition is used several times in 
different expressions required for codegen of the loop directive. If there are 
some variables defined in statement expression, it fires an assert during 
codegen because of redefinition of the same variables.
We have to rebuild several expression to be sure that all variables are unique.



Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/include/clang/AST/StmtOpenMP.h
cfe/branches/release_37/lib/AST/Stmt.cpp
cfe/branches/release_37/lib/CodeGen/CGStmtOpenMP.cpp
cfe/branches/release_37/lib/Sema/SemaOpenMP.cpp
cfe/branches/release_37/lib/Serialization/ASTReaderStmt.cpp
cfe/branches/release_37/lib/Serialization/ASTWriterStmt.cpp
cfe/branches/release_37/test/OpenMP/for_codegen.cpp
cfe/branches/release_37/test/OpenMP/for_loop_messages.cpp
cfe/branches/release_37/test/OpenMP/for_simd_loop_messages.cpp
cfe/branches/release_37/test/OpenMP/parallel_for_loop_messages.cpp
cfe/branches/release_37/test/OpenMP/parallel_for_simd_loop_messages.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 17 13:27:39 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244468,244502,244719,244794
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244468,244502,244719,244794,245041
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/include/clang/AST/StmtOpenMP.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/include/clang/AST/StmtOpenMP.h?rev=245229&r1=245228&r2=245229&view=diff
==
--- cfe/branches/release_37/include/clang/AST/StmtOpenMP.h (original)
+++ cfe/branches/release_37/include/clang/AST/StmtOpenMP.h Mon Aug 17 13:27:39 
2015
@@ -312,18 +312,26 @@ class OMPLoopDirective : public OMPExecu
   }
 
   /// \brief Get the updates storage.
-  MutableArrayRef getUpdates() {
+  MutableArrayRef getInits() {
 Expr **Storage = reinterpret_cast(
 &*std::next(child_begin(),
 getArraysOffset(getDirectiveKind()) + CollapsedNum));
 return MutableArrayRef(Storage, CollapsedNum);
   }
 
+  /// \brief Get the updates storage.
+  MutableArrayRef getUpdates() {
+Expr **Storage = reinterpret_cast(
+&*std::next(child_begin(),
+getArraysOffset(getDirectiveKind()) + 2 * CollapsedNum));
+return MutableArrayRef(Storage, CollapsedNum);
+  }
+
   /// \brief Get the final counter updates storage.
   MutableArrayRef getFinals() {
 Expr **Storage = reinterpret_cast(
 &*std::next(child_begin(),
-getArraysOffset(getDirectiveKind()) + 2 * CollapsedNum));
+getArraysOffset(getDirectiveKind()) + 3 * CollapsedNum));
 return MutableArrayRef(Storage, CollapsedNum);
   }
 
@@ -358,7 +366,7 @@ protected:
   static unsigned numLoopChildren(unsigned CollapsedNum,
   OpenMPDirectiveKind Kind) {
 return getArraysOffset(Kind) +
-   3 * CollapsedNum; // Counters, Updates and Finals
+   4 * CollapsedNum; // Counters, Inits, Updates and Finals
   }
 
   void setIterationVariable(Expr *IV) {
@@ -414,6 +422,7 @@ protected:
 *std::next(child_begin(), NextUpperBoundOffset) = NUB;
   }
   void setCounters(ArrayRef A);
+  void setInits(ArrayRef A);
   void setUpdates(ArrayRef A);
   void setFinals(ArrayRef A);
 
@@ -453,6 +462,8 @@ public:
 Expr *NUB;
 /// \brief Counters Loop counters.
 SmallVector Counters;
+/// \brief Expressions for loop counters inits for CodeGen.
+SmallVector Inits;
 /// \brief Expressions for loop counters up

[llvm-branch-commits] [llvm-branch] r245233 - Fix the issue addressed in r243996: avoid calling std::equals on nullptr

2015-08-17 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 17 15:08:47 2015
New Revision: 245233

URL: http://llvm.org/viewvc/llvm-project?rev=245233&view=rev
Log:
Fix the issue addressed in r243996: avoid calling std::equals on nullptr
because MSVC's STL implementation can trip a debug assert on that.

There is still a discussion ongoing about r243996, so let's just apply
a minimal fix for 3.7.

Modified:
llvm/branches/release_37/lib/IR/Type.cpp

Modified: llvm/branches/release_37/lib/IR/Type.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/IR/Type.cpp?rev=245233&r1=245232&r2=245233&view=diff
==
--- llvm/branches/release_37/lib/IR/Type.cpp (original)
+++ llvm/branches/release_37/lib/IR/Type.cpp Mon Aug 17 15:08:47 2015
@@ -613,6 +613,9 @@ bool StructType::isLayoutIdentical(Struc
   if (isPacked() != Other->isPacked() ||
   getNumElements() != Other->getNumElements())
 return false;
+
+  if (!getNumElements())
+return true;
   
   return std::equal(element_begin(), element_end(), Other->element_begin());
 }


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245235 - Merging r245064:

2015-08-17 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 17 15:22:50 2015
New Revision: 245235

URL: http://llvm.org/viewvc/llvm-project?rev=245235&view=rev
Log:
Merging r245064:

r245064 | cbieneman | 2015-08-14 09:20:31 -0700 (Fri, 14 Aug 2015) | 5 lines

[CMake] Fix PR14200, llvm-config output misses -fno-rtti

This change adds RTTI and Exception flags to llvm-config's cxxflags. This 
solution is a minimal patch to solve the issue, and is recommended for the 3.7 
release branch. Tom Stellard's outstanding work is the longer term solution.

Patch By: David Wiberg


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/tools/llvm-config/CMakeLists.txt

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 17 15:22:50 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245105
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105

Modified: llvm/branches/release_37/tools/llvm-config/CMakeLists.txt
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/tools/llvm-config/CMakeLists.txt?rev=245235&r1=245234&r2=245235&view=diff
==
--- llvm/branches/release_37/tools/llvm-config/CMakeLists.txt (original)
+++ llvm/branches/release_37/tools/llvm-config/CMakeLists.txt Mon Aug 17 
15:22:50 2015
@@ -3,6 +3,11 @@ set(LLVM_LINK_COMPONENTS support)
 set(BUILDVARIABLES_SRCPATH ${CMAKE_CURRENT_SOURCE_DIR}/BuildVariables.inc.in)
 set(BUILDVARIABLES_OBJPATH ${CMAKE_CURRENT_BINARY_DIR}/BuildVariables.inc)
 
+# Add the llvm-config tool.
+add_llvm_tool(llvm-config
+  llvm-config.cpp
+  )
+
 # Compute the substitution values for various items.
 get_property(LLVM_SYSTEM_LIBS_LIST TARGET LLVMSupport PROPERTY 
LLVM_SYSTEM_LIBS)
 foreach(l ${LLVM_SYSTEM_LIBS_LIST})
@@ -10,12 +15,15 @@ foreach(l ${LLVM_SYSTEM_LIBS_LIST})
 endforeach()
 string(REPLACE ";" " " SYSTEM_LIBS "${SYSTEM_LIBS}")
 
+# Fetch target specific compile options, e.g. RTTI option
+get_property(COMPILE_FLAGS TARGET llvm-config PROPERTY COMPILE_FLAGS)
+
 # Use configure_file to create BuildVariables.inc.
 set(LLVM_SRC_ROOT ${LLVM_MAIN_SRC_DIR})
 set(LLVM_OBJ_ROOT ${LLVM_BINARY_DIR})
 set(LLVM_CPPFLAGS "${CMAKE_CPP_FLAGS} 
${CMAKE_CPP_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} ${LLVM_DEFINITIONS}")
 set(LLVM_CFLAGS "${CMAKE_C_FLAGS} 
${CMAKE_C_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} ${LLVM_DEFINITIONS}")
-set(LLVM_CXXFLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} ${LLVM_DEFINITIONS}")
+set(LLVM_CXXFLAGS "${CMAKE_CXX_FLAGS} 
${CMAKE_CXX_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} ${COMPILE_FLAGS} 
${LLVM_DEFINITIONS}")
 # Use the C++ link flags, since they should be a superset of C link flags.
 set(LLVM_LDFLAGS "${CMAKE_CXX_LINK_FLAGS}")
 set(LLVM_BUILDMODE ${CMAKE_BUILD_TYPE})
@@ -26,11 +34,6 @@ configure_file(${BUILDVARIABLES_SRCPATH}
 # Set build-time environment(s).
 add_definitions(-DCMAKE_CFG_INTDIR="${CMAKE_CFG_INTDIR}")
 
-# Add the llvm-config tool.
-add_llvm_tool(llvm-config
-  llvm-config.cpp
-  )
-
 # Add the dependency on the generation step.
 add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/llvm-config.cpp 
${BUILDVARIABLES_OBJPATH})
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r245240 - Merging r245217:

2015-08-17 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 17 16:16:17 2015
New Revision: 245240

URL: http://llvm.org/viewvc/llvm-project?rev=245240&view=rev
Log:
Merging r245217:

r245217 | slthakur | 2015-08-17 06:40:17 -0700 (Mon, 17 Aug 2015) | 13 lines

[LLDB][MIPS] Fix offsets of all register sets and add MSA regset and FRE=1 mode 
support

This patch :

- Fixes offsets of all register sets for Mips.
- Adds MSA register set and FRE=1 mode support for FP register set.
- Separates lldb register numbers and register infos of freebsd/mips64 from 
linux/mips64.
- Re-orders the register numbers of all kinds for mips to be consistent with 
freebsd order of register numbers.

Reviewers: jaydeep, clayborg, jasonmolenda, ovyalov, emaste
Subscribers: tberghammer, ovyalov, emaste, mohit.bhakkad, nitesh.jain, bhushan
Differential: http://reviews.llvm.org/D10919



Added:

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContext_mips.h
  - copied unchanged from r245217, 
lldb/trunk/source/Plugins/Process/Utility/RegisterContext_mips.h

lldb/branches/release_37/source/Plugins/Process/Utility/lldb-mips-freebsd-register-enums.h
  - copied unchanged from r245217, 
lldb/trunk/source/Plugins/Process/Utility/lldb-mips-freebsd-register-enums.h

lldb/branches/release_37/source/Plugins/Process/Utility/lldb-mips-linux-register-enums.h
  - copied unchanged from r245217, 
lldb/trunk/source/Plugins/Process/Utility/lldb-mips-linux-register-enums.h
Removed:

lldb/branches/release_37/source/Plugins/Process/Utility/lldb-mips64-register-enums.h
Modified:
lldb/branches/release_37/   (props changed)

lldb/branches/release_37/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp

lldb/branches/release_37/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp

lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp

lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp

lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContextLinux_mips.cpp

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContextLinux_mips.h

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContextLinux_mips64.h

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.h
lldb/branches/release_37/source/Plugins/Process/Utility/RegisterInfos_mips.h

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterInfos_mips64.h

Propchange: lldb/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 17 16:16:17 2015
@@ -1,3 +1,3 @@
 /lldb/branches/apple/python-GIL:156467-162159
 /lldb/branches/iohandler:198360-200250
-/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866,245217

Modified: 
lldb/branches/release_37/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp?rev=245240&r1=245239&r2=245240&view=diff
==
--- 
lldb/branches/release_37/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
 (original)
+++ 
lldb/branches/release_37/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
 Mon Aug 17 16:16:17 2015
@@ -33,7 +33,7 @@
 #include "llvm/ADT/STLExtras.h"
 
 #include "Plugins/Process/Utility/InstructionUtils.h"
-#include "Plugins/Process/Utility/RegisterContext_mips64.h"  //mips32 has same 
registers nos as mips64
+#include "Plugins/Process/Utility/RegisterContext_mips.h"  //mips32 has same 
registers nos as mips64
 
 using namespace lldb;
 using namespace lldb_private;
@@ -302,38 +302,38 @@ EmulateInstructionMIPS::GetRegisterName
 case gcc_dwarf_bad_mips:  return "bad";
 case gcc_dwarf_cause_mips:return "cause";
 case gcc_dwarf_pc_mips:   return "pc";
-case gcc_dwarf_f0_mips:   return "fp_reg[0]";
-case gcc_dwarf_f1_mips:   return "fp_reg[1]";
-case gcc_dwarf_f2_mips:   return "fp_reg[2]";
-case gcc_dwarf_f3_mips:   return "fp_reg[3]";
-case gcc_dwarf_f4_mips:   return "fp_reg[4]";
-case gcc_dwarf_f5_mips:   return "fp_reg[5]";
-case gcc_dwarf_f6_mips:   return "fp_reg[6]";
-case gcc_dwarf_f7_mips:   return

[llvm-branch-commits] [llvm-branch] r245241 - ReleaseNotes: LLVMSharp and ClangSharp (copied from 3.6 notes)

2015-08-17 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 17 16:22:07 2015
New Revision: 245241

URL: http://llvm.org/viewvc/llvm-project?rev=245241&view=rev
Log:
ReleaseNotes: LLVMSharp and ClangSharp (copied from 3.6 notes)

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245241&r1=245240&r2=245241&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Mon Aug 17 16:22:07 2015
@@ -295,6 +295,24 @@ BPF Compiler Collection (BCC)
 networking that is using Clang rewriter + 2nd pass of Clang + BPF backend to
 generate eBPF and push it into the kernel.
 
+LLVMSharp & ClangSharp
+--
+
+`LLVMSharp `_ and
+`ClangSharp `_ are type-safe C# bindings for
+Microsoft.NET and Mono that Platform Invoke into the native libraries.
+ClangSharp is self-hosted and is used to generated LLVMSharp using the
+LLVM-C API.
+
+`LLVMSharp Kaleidoscope Tutorials `_
+are instructive examples of writing a compiler in C#, with certain improvements
+like using the visitor pattern to generate LLVM IR.
+
+`ClangSharp PInvoke Generator `_ is the
+self-hosting mechanism for LLVM/ClangSharp and is demonstrative of using
+LibClang to generate Platform Invoke (PInvoke) signatures for C APIs.
+
+
 Additional Information
 ==
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245242 - ReleaseNotes: System/Z -> SystemZ

2015-08-17 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 17 16:23:36 2015
New Revision: 245242

URL: http://llvm.org/viewvc/llvm-project?rev=245242&view=rev
Log:
ReleaseNotes: System/Z -> SystemZ

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245242&r1=245241&r2=245242&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Mon Aug 17 16:23:36 2015
@@ -212,8 +212,8 @@ There are numerous improvements to the P
 
 * Many bugs have been identified and fixed.
 
-Changes to the System/Z Target
---
+Changes to the SystemZ Target
+-
 
 * LLVM no longer attempts to automatically detect the current host CPU when
   invoked natively.


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245243 - ReleaseNotes: System/Z -> SystemZ

2015-08-17 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 17 16:23:57 2015
New Revision: 245243

URL: http://llvm.org/viewvc/llvm-project?rev=245243&view=rev
Log:
ReleaseNotes: System/Z -> SystemZ

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=245243&r1=245242&r2=245243&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Mon Aug 17 16:23:57 2015
@@ -203,8 +203,8 @@ Static Analyzer
 
 ...
 
-System/Z
-
+SystemZ
+---
 
 * Clang will now always default to the z10 processor when compiling
   without any ``-march=`` option. Previous releases used to automatically


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r245306 - Remove RegisterContext_mips64.h which was replaced by RegisterContext_mips.h in r245240

2015-08-18 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 18 11:19:38 2015
New Revision: 245306

URL: http://llvm.org/viewvc/llvm-project?rev=245306&view=rev
Log:
Remove RegisterContext_mips64.h which was replaced by RegisterContext_mips.h in 
r245240

Removed:

lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContext_mips64.h

Removed: 
lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContext_mips64.h
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContext_mips64.h?rev=245305&view=auto
==
--- 
lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContext_mips64.h
 (original)
+++ 
lldb/branches/release_37/source/Plugins/Process/Utility/RegisterContext_mips64.h
 (removed)
@@ -1,336 +0,0 @@
-//===-- RegisterContext_mips64.h *- C++ 
-*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===--===//
-
-#ifndef liblldb_RegisterContext_mips64_H_
-#define liblldb_RegisterContext_mips64_H_
-
-// GCC and DWARF Register numbers (eRegisterKindGCC & eRegisterKindDWARF)
-enum
-{
-// GP Registers
-gcc_dwarf_zero_mips = 0,
-gcc_dwarf_r1_mips,
-gcc_dwarf_r2_mips,
-gcc_dwarf_r3_mips,
-gcc_dwarf_r4_mips,
-gcc_dwarf_r5_mips,
-gcc_dwarf_r6_mips,
-gcc_dwarf_r7_mips,
-gcc_dwarf_r8_mips,
-gcc_dwarf_r9_mips,
-gcc_dwarf_r10_mips,
-gcc_dwarf_r11_mips,
-gcc_dwarf_r12_mips,
-gcc_dwarf_r13_mips,
-gcc_dwarf_r14_mips,
-gcc_dwarf_r15_mips,
-gcc_dwarf_r16_mips,
-gcc_dwarf_r17_mips,
-gcc_dwarf_r18_mips,
-gcc_dwarf_r19_mips,
-gcc_dwarf_r20_mips,
-gcc_dwarf_r21_mips,
-gcc_dwarf_r22_mips,
-gcc_dwarf_r23_mips,
-gcc_dwarf_r24_mips,
-gcc_dwarf_r25_mips,
-gcc_dwarf_r26_mips,
-gcc_dwarf_r27_mips,
-gcc_dwarf_gp_mips,
-gcc_dwarf_sp_mips,
-gcc_dwarf_r30_mips,
-gcc_dwarf_ra_mips,
-gcc_dwarf_lo_mips,
-gcc_dwarf_hi_mips,
-gcc_dwarf_pc_mips,
-gcc_dwarf_bad_mips,
-gcc_dwarf_sr_mips,
-gcc_dwarf_cause_mips,
-gcc_dwarf_f0_mips,
-gcc_dwarf_f1_mips,
-gcc_dwarf_f2_mips,
-gcc_dwarf_f3_mips,
-gcc_dwarf_f4_mips,
-gcc_dwarf_f5_mips,
-gcc_dwarf_f6_mips,
-gcc_dwarf_f7_mips,
-gcc_dwarf_f8_mips,
-gcc_dwarf_f9_mips,
-gcc_dwarf_f10_mips,
-gcc_dwarf_f11_mips,
-gcc_dwarf_f12_mips,
-gcc_dwarf_f13_mips,
-gcc_dwarf_f14_mips,
-gcc_dwarf_f15_mips,
-gcc_dwarf_f16_mips,
-gcc_dwarf_f17_mips,
-gcc_dwarf_f18_mips,
-gcc_dwarf_f19_mips,
-gcc_dwarf_f20_mips,
-gcc_dwarf_f21_mips,
-gcc_dwarf_f22_mips,
-gcc_dwarf_f23_mips,
-gcc_dwarf_f24_mips,
-gcc_dwarf_f25_mips,
-gcc_dwarf_f26_mips,
-gcc_dwarf_f27_mips,
-gcc_dwarf_f28_mips,
-gcc_dwarf_f29_mips,
-gcc_dwarf_f30_mips,
-gcc_dwarf_f31_mips,
-gcc_dwarf_fcsr_mips,
-gcc_dwarf_fir_mips,
-gcc_dwarf_ic_mips,
-gcc_dwarf_dummy_mips
-};
-
-enum
-{
-gcc_dwarf_zero_mips64 = 0,
-gcc_dwarf_r1_mips64,
-gcc_dwarf_r2_mips64,
-gcc_dwarf_r3_mips64,
-gcc_dwarf_r4_mips64,
-gcc_dwarf_r5_mips64,
-gcc_dwarf_r6_mips64,
-gcc_dwarf_r7_mips64,
-gcc_dwarf_r8_mips64,
-gcc_dwarf_r9_mips64,
-gcc_dwarf_r10_mips64,
-gcc_dwarf_r11_mips64,
-gcc_dwarf_r12_mips64,
-gcc_dwarf_r13_mips64,
-gcc_dwarf_r14_mips64,
-gcc_dwarf_r15_mips64,
-gcc_dwarf_r16_mips64,
-gcc_dwarf_r17_mips64,
-gcc_dwarf_r18_mips64,
-gcc_dwarf_r19_mips64,
-gcc_dwarf_r20_mips64,
-gcc_dwarf_r21_mips64,
-gcc_dwarf_r22_mips64,
-gcc_dwarf_r23_mips64,
-gcc_dwarf_r24_mips64,
-gcc_dwarf_r25_mips64,
-gcc_dwarf_r26_mips64,
-gcc_dwarf_r27_mips64,
-gcc_dwarf_gp_mips64,
-gcc_dwarf_sp_mips64,
-gcc_dwarf_r30_mips64,
-gcc_dwarf_ra_mips64,
-gcc_dwarf_sr_mips64,
-gcc_dwarf_lo_mips64,
-gcc_dwarf_hi_mips64,
-gcc_dwarf_bad_mips64,
-gcc_dwarf_cause_mips64,
-gcc_dwarf_pc_mips64,
-gcc_dwarf_f0_mips64,
-gcc_dwarf_f1_mips64,
-gcc_dwarf_f2_mips64,
-gcc_dwarf_f3_mips64,
-gcc_dwarf_f4_mips64,
-gcc_dwarf_f5_mips64,
-gcc_dwarf_f6_mips64,
-gcc_dwarf_f7_mips64,
-gcc_dwarf_f8_mips64,
-gcc_dwarf_f9_mips64,
-gcc_dwarf_f10_mips64,
-gcc_dwarf_f11_mips64,
-gcc_dwarf_f12_mips64,
-gcc_dwarf_f13_mips64,
-gcc_dwarf_f14_mips64,
-gcc_dwarf_f15_mips64,
-gcc_dwarf_f16_mips64,
-gcc_dwarf_f17_mips64,
-gcc_dwarf_f18_mips64,
-gcc_dwarf_f19_mips64,
-gcc_dwarf_f20_mips64,
-gcc_dwarf_f21_mips64,
-gcc_dwarf_f22_mips64,
-gcc_dwarf_f23_mips64,
-gcc_dwarf_f24_mips64,
-gcc_dwarf_f25_mips64,
-gcc_dwarf_f26_mips64,
-gcc_dwarf_f27_mips64,

[llvm-branch-commits] [llvm-branch] r245312 - Merging r245256:

2015-08-18 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 18 11:48:44 2015
New Revision: 245312

URL: http://llvm.org/viewvc/llvm-project?rev=245312&view=rev
Log:
Merging r245256:

r245256 | hans | 2015-08-17 16:24:17 -0700 (Mon, 17 Aug 2015) | 3 lines

Doxygen: add build option to use svg instead of png files for graphs

Differential Revision: http://reviews.llvm.org/D11994


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/docs/CMake.rst
llvm/branches/release_37/docs/CMakeLists.txt
llvm/branches/release_37/docs/Makefile
llvm/branches/release_37/docs/doxygen.cfg.in

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 18 11:48:44 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105,245256

Modified: llvm/branches/release_37/docs/CMake.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/CMake.rst?rev=245312&r1=245311&r2=245312&view=diff
==
--- llvm/branches/release_37/docs/CMake.rst (original)
+++ llvm/branches/release_37/docs/CMake.rst Tue Aug 18 11:48:44 2015
@@ -387,6 +387,10 @@ LLVM-specific variables
   ``-DLLVM_ENABLE_DOXYGEN_QT_HELP=ON``; otherwise this has no
   effect.
 
+**LLVM_DOXYGEN_SVG**:BOOL
+  Uses .svg files instead of .png files for graphs in the Doxygen output.
+  Defaults to OFF.
+
 **LLVM_ENABLE_SPHINX**:BOOL
   If enabled CMake will search for the ``sphinx-build`` executable and will 
make
   the ``SPHINX_OUTPUT_HTML`` and ``SPHINX_OUTPUT_MAN`` CMake options available.

Modified: llvm/branches/release_37/docs/CMakeLists.txt
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/CMakeLists.txt?rev=245312&r1=245311&r2=245312&view=diff
==
--- llvm/branches/release_37/docs/CMakeLists.txt (original)
+++ llvm/branches/release_37/docs/CMakeLists.txt Tue Aug 18 11:48:44 2015
@@ -56,6 +56,14 @@ if (LLVM_ENABLE_DOXYGEN)
 set(llvm_doxygen_qhp_cust_filter_attrs "")
   endif()
   
+  option(LLVM_DOXYGEN_SVG
+"Use svg instead of png files for doxygen graphs." OFF)
+  if (LLVM_DOXYGEN_SVG)
+set(DOT_IMAGE_FORMAT "svg")
+  else()
+set(DOT_IMAGE_FORMAT "png")
+  endif()
+
   configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in
 ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY)
 
@@ -73,6 +81,7 @@ if (LLVM_ENABLE_DOXYGEN)
   set(llvm_doxygen_qhelpgenerator_path)
   set(llvm_doxygen_qhp_cust_filter_name)
   set(llvm_doxygen_qhp_cust_filter_attrs)
+  set(DOT_IMAGE_FORMAT)
 
   add_custom_target(doxygen-llvm
 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg

Modified: llvm/branches/release_37/docs/Makefile
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/Makefile?rev=245312&r1=245311&r2=245312&view=diff
==
--- llvm/branches/release_37/docs/Makefile (original)
+++ llvm/branches/release_37/docs/Makefile Tue Aug 18 11:48:44 2015
@@ -31,6 +31,7 @@ $(PROJ_OBJ_DIR)/doxygen.cfg: doxygen.cfg
  -e 's/@llvm_doxygen_qhp_cust_filter_name@//g' \
  -e 's/@llvm_doxygen_qhp_namespace@//g' \
  -e 's/@searchengine_url@//g' \
+ -e 's/@DOT_IMAGE_FORMAT@/png/g' \
  > $@
 endif
 

Modified: llvm/branches/release_37/docs/doxygen.cfg.in
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/doxygen.cfg.in?rev=245312&r1=245311&r2=245312&view=diff
==
--- llvm/branches/release_37/docs/doxygen.cfg.in (original)
+++ llvm/branches/release_37/docs/doxygen.cfg.in Tue Aug 18 11:48:44 2015
@@ -2205,7 +2205,7 @@ DIRECTORY_GRAPH= YES
 # The de

[llvm-branch-commits] [cfe-branch] r245313 - Merging r245259:

2015-08-18 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 18 11:50:24 2015
New Revision: 245313

URL: http://llvm.org/viewvc/llvm-project?rev=245313&view=rev
Log:
Merging r245259:

r245259 | hans | 2015-08-17 16:38:56 -0700 (Mon, 17 Aug 2015) | 3 lines

Doxygen: add build option to use svg instead of png files for graphs

Differential Revision: http://reviews.llvm.org/D11994


Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/docs/CMakeLists.txt
cfe/branches/release_37/docs/Makefile
cfe/branches/release_37/docs/doxygen.cfg.in

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 18 11:50:24 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244468,244502,244719,244794,245041
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244468,244502,244719,244794,245041,245259
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/docs/CMakeLists.txt
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/CMakeLists.txt?rev=245313&r1=245312&r2=245313&view=diff
==
--- cfe/branches/release_37/docs/CMakeLists.txt (original)
+++ cfe/branches/release_37/docs/CMakeLists.txt Tue Aug 18 11:50:24 2015
@@ -47,6 +47,14 @@ if (LLVM_ENABLE_DOXYGEN)
 set(clang_doxygen_qhp_cust_filter_attrs "")
   endif()
 
+  option(LLVM_DOXYGEN_SVG
+"Use svg instead of png files for doxygen graphs." OFF)
+  if (LLVM_DOXYGEN_SVG)
+set(DOT_IMAGE_FORMAT "svg")
+  else()
+set(DOT_IMAGE_FORMAT "png")
+  endif()
+
   configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in
 ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY)
 
@@ -64,6 +72,7 @@ if (LLVM_ENABLE_DOXYGEN)
   set(clang_doxygen_qhelpgenerator_path)
   set(clang_doxygen_qhp_cust_filter_name)
   set(clang_doxygen_qhp_cust_filter_attrs)
+  set(DOT_IMAGE_FORMAT)
 
   add_custom_target(doxygen-clang
 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg

Modified: cfe/branches/release_37/docs/Makefile
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/Makefile?rev=245313&r1=245312&r2=245313&view=diff
==
--- cfe/branches/release_37/docs/Makefile (original)
+++ cfe/branches/release_37/docs/Makefile Tue Aug 18 11:50:24 2015
@@ -30,6 +30,7 @@ $(PROJ_OBJ_DIR)/doxygen.cfg: doxygen.cfg
  -e 's/@enable_server_based_search@/NO/g' \
  -e 's/@extra_search_mappings@//g' \
  -e 's/@searchengine_url@//g' \
+ -e 's/@DOT_IMAGE_FORMAT@/png/g' \
  > $@
 endif
 

Modified: cfe/branches/release_37/docs/doxygen.cfg.in
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/doxygen.cfg.in?rev=245313&r1=245312&r2=245313&view=diff
==
--- cfe/branches/release_37/docs/doxygen.cfg.in (original)
+++ cfe/branches/release_37/docs/doxygen.cfg.in Tue Aug 18 11:50:24 2015
@@ -2205,7 +2205,7 @@ DIRECTORY_GRAPH= YES
 # The default value is: png.
 # This tag requires that the tag HAVE_DOT is set to YES.
 
-DOT_IMAGE_FORMAT   = png
+DOT_IMAGE_FORMAT   = @DOT_IMAGE_FORMAT@
 
 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
 # enable generation of interactive SVG images that allow zooming and panning.


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245328 - ReleaseNotes: clang-tidy changes; by Alexander Kornienko

2015-08-18 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 18 13:44:16 2015
New Revision: 245328

URL: http://llvm.org/viewvc/llvm-project?rev=245328&view=rev
Log:
ReleaseNotes: clang-tidy changes; by Alexander Kornienko

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=245328&r1=245327&r2=245328&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Tue Aug 18 13:44:16 2015
@@ -249,6 +249,55 @@ SystemZ
  
 * Several cases of ABI incompatibility with GCC have been fixed.
 
+clang-tidy
+--
+Added new checks:
+
+  * google-global-names-in-headers: flag global namespace pollution in header
+files.
+
+  * misc-assert-side-effect: detects `assert()` conditions with side effects
+which can cause different behavior in debug / release builds.
+
+  * misc-assign-operator-signature: finds declarations of assign operators with
+the wrong return and/or argument types.
+
+  * misc-inaccurate-erase: warns when some elements of a container are not
+removed due to using the `erase()` algorithm incorrectly.
+
+  * misc-inefficient-algorithm: warns on inefficient use of STL algorithms on
+associative containers.
+
+  * misc-macro-parentheses: finds macros that can have unexpected behavior due
+to missing parentheses.
+
+  * misc-macro-repeated-side-effects: checks for repeated argument with side
+effects in macros.
+
+  * misc-noexcept-move-constructor: flags user-defined move constructors and
+assignment operators not marked with `noexcept` or marked with
+`noexcept(expr)` where `expr` evaluates to `false` (but is not a `false`
+literal itself).
+
+  * misc-static-assert: replaces `assert()` with `static_assert()` if the
+condition is evaluatable at compile time.
+
+  * readability-container-size-empty: checks whether a call to the `size()`
+method can be replaced with a call to `empty()`.
+
+  * readability-else-after-return: flags conditional statements having the
+`else` branch, when the `true` branch has a `return` as the last statement.
+
+  * readability-redundant-string-cstr: finds unnecessary calls to
+`std::string::c_str()`.
+
+  * readability-shrink-to-fit: replaces copy and swap tricks on shrinkable
+containers with the `shrink_to_fit()` method call.
+
+  * readability-simplify-boolean-expr: looks for boolean expressions involving
+boolean constants and simplifies them to use the appropriate boolean
+expression directly (`if (x == true) ... -> if (x)`, etc.)
+
 
 Core Analysis Improvements
 ==


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245356 - Merging r245355:

2015-08-18 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 18 16:12:52 2015
New Revision: 245356

URL: http://llvm.org/viewvc/llvm-project?rev=245356&view=rev
Log:
Merging r245355:

r245355 | hans | 2015-08-18 14:10:17 -0700 (Tue, 18 Aug 2015) | 1 line

Release script: correctly symlink clang-tools-extra into the build (PR22765)


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/utils/release/test-release.sh

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 18 16:12:52 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105,245256
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105,245256,245355

Modified: llvm/branches/release_37/utils/release/test-release.sh
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/utils/release/test-release.sh?rev=245356&r1=245355&r2=245356&view=diff
==
--- llvm/branches/release_37/utils/release/test-release.sh (original)
+++ llvm/branches/release_37/utils/release/test-release.sh Tue Aug 18 16:12:52 
2015
@@ -266,9 +266,9 @@ function export_sources() {
 if [ ! -h clang ]; then
 ln -s ../../cfe.src clang
 fi
-cd $BuildDir/llvm.src/tools/clang/tools
+cd $BuildDir/cfe.src/tools
 if [ ! -h extra ]; then
-ln -s ../../../../clang-tools-extra.src extra
+ln -s ../../clang-tools-extra.src extra
 fi
 cd $BuildDir/llvm.src/projects
 if [ -d $BuildDir/test-suite.src ] && [ ! -h test-suite ]; then


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245386 - Merging r245119:

2015-08-18 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 18 18:02:42 2015
New Revision: 245386

URL: http://llvm.org/viewvc/llvm-project?rev=245386&view=rev
Log:
Merging r245119:

r245119 | nicholas | 2015-08-14 15:46:49 -0700 (Fri, 14 Aug 2015) | 2 lines

Fix a crash where a utility function wasn't aware of fcmp vectors and created a 
value with the wrong type. Fixes PR24458!



Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/branches/release_37/test/Transforms/InstCombine/vector-casts.ll

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 18 18:02:42 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105,245256,245355
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355

Modified: 
llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp?rev=245386&r1=245385&r2=245386&view=diff
==
--- llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 
(original)
+++ llvm/branches/release_37/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 
Tue Aug 18 18:02:42 2015
@@ -93,7 +93,8 @@ static Value *getFCmpValue(bool isordere
   case 5: Pred = isordered ? FCmpInst::FCMP_ONE : FCmpInst::FCMP_UNE; break;
   case 6: Pred = isordered ? FCmpInst::FCMP_OLE : FCmpInst::FCMP_ULE; break;
   case 7:
-if (!isordered) return ConstantInt::getTrue(LHS->getContext());
+if (!isordered)
+  return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
 Pred = FCmpInst::FCMP_ORD; break;
   }
   return Builder->CreateFCmp(Pred, LHS, RHS);

Modified: llvm/branches/release_37/test/Transforms/InstCombine/vector-casts.ll
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/test/Transforms/InstCombine/vector-casts.ll?rev=245386&r1=245385&r2=245386&view=diff
==
--- llvm/branches/release_37/test/Transforms/InstCombine/vector-casts.ll 
(original)
+++ llvm/branches/release_37/test/Transforms/InstCombine/vector-casts.ll Tue 
Aug 18 18:02:42 2015
@@ -150,3 +150,14 @@ entry:
   ret <4 x float> undef
 }
 
+define <8 x i32> @pr24458(<8 x float> %n) {
+; CHECK-LABEL: @pr24458
+  %notequal_b_load_.i = fcmp une <8 x float> %n, zeroinitializer
+  %equal_a_load72_.i = fcmp ueq <8 x float> %n, zeroinitializer
+  %notequal_b_load__to_boolvec.i = sext <8 x i1> %notequal_b_load_.i to <8 x 
i32>
+  %equal_a_load72__to_boolvec.i = sext <8 x i1> %equal_a_load72_.i to <8 x i32>
+  %wrong = or <8 x i32> %notequal_b_load__to_boolvec.i, 
%equal_a_load72__to_boolvec.i
+  ret <8 x i32> %wrong
+; CHECK-NEXT: ret <8 x i32> 
+}
+


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245393 - Merging r244902:

2015-08-18 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 18 19:06:22 2015
New Revision: 245393

URL: http://llvm.org/viewvc/llvm-project?rev=245393&view=rev
Log:
Merging r244902:

r244902 | martell | 2015-08-13 08:41:04 -0700 (Thu, 13 Aug 2015) | 12 lines

Driver: Fix include directories when not using libgcc under mingw

Summary:
When we want to use mingw-w64 and clang with compiler-rt we should not
need to have libgcc installed. This fixes finding includes when libgcc
is not installed

Reviewers: yaron.keren

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D11808


Added:
cfe/branches/release_37/test/Driver/Inputs/mingw_clang_tree/
  - copied from r244902, cfe/trunk/test/Driver/Inputs/mingw_clang_tree/
Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/Driver/MinGWToolChain.cpp
cfe/branches/release_37/test/Driver/mingw.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 18 19:06:22 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,245041,245259
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245259
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/Driver/MinGWToolChain.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/Driver/MinGWToolChain.cpp?rev=245393&r1=245392&r2=245393&view=diff
==
--- cfe/branches/release_37/lib/Driver/MinGWToolChain.cpp (original)
+++ cfe/branches/release_37/lib/Driver/MinGWToolChain.cpp Tue Aug 18 19:06:22 
2015
@@ -47,7 +47,7 @@ void MinGW::findGccLibDir() {
   Archs.emplace_back(getTriple().getArchName());
   Archs[0] += "-w64-mingw32";
   Archs.emplace_back("mingw32");
-  Arch = "unknown";
+  Arch = Archs[0].str();
   // lib: Arch Linux, Ubuntu, Windows
   // lib64: openSUSE Linux
   for (StringRef CandidateLib : {"lib", "lib64"}) {

Modified: cfe/branches/release_37/test/Driver/mingw.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/test/Driver/mingw.cpp?rev=245393&r1=245392&r2=245393&view=diff
==
--- cfe/branches/release_37/test/Driver/mingw.cpp (original)
+++ cfe/branches/release_37/test/Driver/mingw.cpp Tue Aug 18 19:06:22 2015
@@ -1,3 +1,8 @@
+// RUN: %clang -target i686-windows-gnu -c -### 
--sysroot=%S/Inputs/mingw_clang_tree/mingw32 %s 2>&1 | FileCheck 
-check-prefix=CHECK_MINGW_CLANG_TREE %s
+// CHECK_MINGW_CLANG_TREE: 
"{{.*}}/Inputs/mingw_clang_tree/mingw32{{/|}}i686-w64-mingw32{{/|}}include"
+// CHECK_MINGW_CLANG_TREE: 
"{{.*}}/Inputs/mingw_clang_tree/mingw32{{/|}}include"
+
+
 // RUN: %clang -target i686-pc-windows-gnu -stdlib=libstdc++ -c -### 
--sysroot=%S/Inputs/mingw_mingw_org_tree/mingw %s 2>&1 | FileCheck 
-check-prefix=CHECK_MINGW_ORG_TREE %s
 // CHECK_MINGW_ORG_TREE: 
"{{.*}}/Inputs/mingw_mingw_org_tree/mingw{{/|}}lib{{/|}}gcc{{/|}}mingw32{{/|}}4.8.1{{/|}}include{{/|}}c++"
 // CHECK_MINGW_ORG_TREE: 
"{{.*}}/Inputs/mingw_mingw_org_tree/mingw{{/|}}lib{{/|}}gcc{{/|}}mingw32{{/|}}4.8.1{{/|}}include{{/|}}c++{{/|}}mingw32"


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245456 - Merging r245084:

2015-08-19 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 19 11:40:03 2015
New Revision: 245456

URL: http://llvm.org/viewvc/llvm-project?rev=245456&view=rev
Log:
Merging r245084:

r245084 | martell | 2015-08-14 12:05:56 -0700 (Fri, 14 Aug 2015) | 13 lines

WindowsX86: long double is x87DoubleExtended on mingw

Summary:
long double on x86 mingw is 80bits and is aligned to 16bytes

Fixes:
https://llvm.org/bugs/show_bug.cgi?id=24398

Reviewers: rnk

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D12037


Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/Basic/Targets.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 19 11:40:03 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245259
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245084,245259
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/Basic/Targets.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/Basic/Targets.cpp?rev=245456&r1=245455&r2=245456&view=diff
==
--- cfe/branches/release_37/lib/Basic/Targets.cpp (original)
+++ cfe/branches/release_37/lib/Basic/Targets.cpp Wed Aug 19 11:40:03 2015
@@ -3738,7 +3738,10 @@ namespace {
 class MinGWX86_32TargetInfo : public WindowsX86_32TargetInfo {
 public:
   MinGWX86_32TargetInfo(const llvm::Triple &Triple)
-  : WindowsX86_32TargetInfo(Triple) {}
+  : WindowsX86_32TargetInfo(Triple) {
+LongDoubleWidth = LongDoubleAlign = 128;
+LongDoubleFormat = &llvm::APFloat::x87DoubleExtended;
+  }
   void getTargetDefines(const LangOptions &Opts,
 MacroBuilder &Builder) const override {
 WindowsX86_32TargetInfo::getTargetDefines(Opts, Builder);
@@ -3968,7 +3971,10 @@ public:
 class MinGWX86_64TargetInfo : public WindowsX86_64TargetInfo {
 public:
   MinGWX86_64TargetInfo(const llvm::Triple &Triple)
-  : WindowsX86_64TargetInfo(Triple) {}
+  : WindowsX86_64TargetInfo(Triple) {
+LongDoubleWidth = LongDoubleAlign = 128;
+LongDoubleFormat = &llvm::APFloat::x87DoubleExtended;
+  }
   void getTargetDefines(const LangOptions &Opts,
 MacroBuilder &Builder) const override {
 WindowsX86_64TargetInfo::getTargetDefines(Opts, Builder);


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245457 - Merging r244448:

2015-08-19 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 19 11:43:16 2015
New Revision: 245457

URL: http://llvm.org/viewvc/llvm-project?rev=245457&view=rev
Log:
Merging r28:

r28 | fcormack | 2015-08-10 07:48:47 -0700 (Mon, 10 Aug 2015) | 12 lines

Prevent the scalarizer from caching incorrect entries

The scalarizer can cache incorrect entries when walking up a chain of
insertelement instructions. This occurs when it encounters more than one
instruction that it is not actively searching for, as it unconditionally caches
every element it finds. The fix is to only cache the first element that it
isn't searching for so we don't overwrite correct entries.

Reviewers: hfinkel

Differential Revision: http://reviews.llvm.org/D11559



Added:
llvm/branches/release_37/test/Transforms/Scalarizer/cache-bug.ll
  - copied unchanged from r28, 
llvm/trunk/test/Transforms/Scalarizer/cache-bug.ll
Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Transforms/Scalar/Scalarizer.cpp

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 19 11:43:16 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355

Modified: llvm/branches/release_37/lib/Transforms/Scalar/Scalarizer.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Transforms/Scalar/Scalarizer.cpp?rev=245457&r1=245456&r2=245457&view=diff
==
--- llvm/branches/release_37/lib/Transforms/Scalar/Scalarizer.cpp (original)
+++ llvm/branches/release_37/lib/Transforms/Scalar/Scalarizer.cpp Wed Aug 19 
11:43:16 2015
@@ -227,10 +227,16 @@ Value *Scatterer::operator[](unsigned I)
   if (!Idx)
 break;
   unsigned J = Idx->getZExtValue();
-  CV[J] = Insert->getOperand(1);
   V = Insert->getOperand(0);
-  if (I == J)
+  if (I == J) {
+CV[J] = Insert->getOperand(1);
 return CV[J];
+  } else if (!CV[J]) {
+// Only cache the first entry we find for each index we're not actively
+// searching for. This prevents us from going too far up the chain and
+// caching incorrect entries.
+CV[J] = Insert->getOperand(1);
+  }
 }
 CV[I] = Builder.CreateExtractElement(V, Builder.getInt32(I),
  V->getName() + ".i" + Twine(I));


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245476 - Merging r245394:

2015-08-19 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 19 13:39:10 2015
New Revision: 245476

URL: http://llvm.org/viewvc/llvm-project?rev=245476&view=rev
Log:
Merging r245394:

r245394 | qcolombet | 2015-08-18 17:07:20 -0700 (Tue, 18 Aug 2015) | 3 lines

[BasicAA] Revert r221876 because it can produce incorrect aliasing
information: see PR24468.



Removed:
llvm/branches/release_37/test/Analysis/BasicAA/zext.ll
Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Analysis/BasicAliasAnalysis.cpp
llvm/branches/release_37/test/Analysis/BasicAA/phi-aa.ll

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 19 13:39:10 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245394

Modified: llvm/branches/release_37/lib/Analysis/BasicAliasAnalysis.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Analysis/BasicAliasAnalysis.cpp?rev=245476&r1=245475&r2=245476&view=diff
==
--- llvm/branches/release_37/lib/Analysis/BasicAliasAnalysis.cpp (original)
+++ llvm/branches/release_37/lib/Analysis/BasicAliasAnalysis.cpp Wed Aug 19 
13:39:10 2015
@@ -206,14 +206,6 @@ static Value *GetLinearExpression(Value
 return V;
   }
 
-  if (ConstantInt *Const = dyn_cast(V)) {
-// if it's a constant, just convert it to an offset
-// and remove the variable.
-Offset += Const->getValue();
-assert(Scale == 0 && "Constant values don't have a scale");
-return V;
-  }
-
   if (BinaryOperator *BOp = dyn_cast(V)) {
 if (ConstantInt *RHSC = dyn_cast(BOp->getOperand(1))) {
   switch (BOp->getOpcode()) {
@@ -261,10 +253,7 @@ static Value *GetLinearExpression(Value
 Value *Result = GetLinearExpression(CastOp, Scale, Offset, Extension, DL,
 Depth + 1, AC, DT);
 Scale = Scale.zext(OldWidth);
-
-// We have to sign-extend even if Extension == EK_ZeroExt as we can't
-// decompose a sign extension (i.e. zext(x - 1) != zext(x) - zext(-1)).
-Offset = Offset.sext(OldWidth);
+Offset = Offset.zext(OldWidth);
 
 return Result;
   }
@@ -1135,43 +1124,12 @@ AliasResult BasicAliasAnalysis::aliasGEP
 }
   }
 
+  // Try to distinguish something like &A[i][1] against &A[42][0].
+  // Grab the least significant bit set in any of the scales.
   if (!GEP1VariableIndices.empty()) {
 uint64_t Modulo = 0;
-bool AllPositive = true;
-for (unsigned i = 0, e = GEP1VariableIndices.size(); i != e; ++i) {
-
-  // Try to distinguish something like &A[i][1] against &A[42][0].
-  // Grab the least significant bit set in any of the scales. We
-  // don't need std::abs here (even if the scale's negative) as we'll
-  // be ^'ing Modulo with itself later.
+for (unsigned i = 0, e = GEP1VariableIndices.size(); i != e; ++i)
   Modulo |= (uint64_t) GEP1VariableIndices[i].Scale;
-
-  if (AllPositive) {
-// If the Value could change between cycles, then any reasoning about
-// the Value this cycle may not hold in the next cycle. We'll just
-// give up if we can't determine conditions that hold for every cycle:
-const Value *V = GEP1VariableIndices[i].V;
-
-bool SignKnownZero, SignKnownOne;
-ComputeSignBit(const_cast(V), SignKnownZero, SignKnownOne, 
*DL,
-   0, AC1, nullptr, DT);
-
-// Zero-extension widens the variable, and so forces the sign
-// bit to zero.
-bool IsZExt = GEP1VariableIndices[i].Extension == EK_ZeroExt;
-SignKnownZero |= IsZExt;
-SignKnownOne &= !IsZExt;
-
-// If the variable begins with a zero then we know it's
-// positive, r

[llvm-branch-commits] [llvm-branch] r245478 - Merging r245395:

2015-08-19 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 19 13:40:30 2015
New Revision: 245478

URL: http://llvm.org/viewvc/llvm-project?rev=245478&view=rev
Log:
Merging r245395:

r245395 | qcolombet | 2015-08-18 17:08:26 -0700 (Tue, 18 Aug 2015) | 3 lines

[BasicAA] Add a test for PR24468 to be sure we won't regress
when we finally get the GEP aliasing right.



Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/test/Analysis/BasicAA/gep-alias.ll

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 19 13:40:30 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245394
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245394-245395

Modified: llvm/branches/release_37/test/Analysis/BasicAA/gep-alias.ll
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/test/Analysis/BasicAA/gep-alias.ll?rev=245478&r1=245477&r2=245478&view=diff
==
--- llvm/branches/release_37/test/Analysis/BasicAA/gep-alias.ll (original)
+++ llvm/branches/release_37/test/Analysis/BasicAA/gep-alias.ll Wed Aug 19 
13:40:30 2015
@@ -228,3 +228,51 @@ define i32 @test12(i32 %x, i32 %y, i8* %
 ; CHECK-LABEL: @test12(
 ; CHECK: ret i32 %r
 }
+
+@P = internal global i32 715827882, align 4
+@Q = internal global i32 715827883, align 4
+@.str = private unnamed_addr constant [7 x i8] c"%u %u\0A\00", align 1
+
+; Make sure we recognize that u[0] and u[Global + Cst] may alias
+; when the addition has wrapping semantic.
+; PR24468.
+; CHECK-LABEL: @test13(
+; Make sure the stores appear before the related loads.
+; CHECK: store i8 42,
+; CHECK: store i8 99,
+; Find the loads and make sure they are used in the arguments to the printf.
+; CHECK: [[T0ADDR:%[a-zA-Z0-9_]+]] = getelementptr inbounds [3 x i8], [3 x 
i8]* %t, i32 0, i32 0
+; CHECK: [[T0:%[a-zA-Z0-9_]+]] = load i8, i8* [[T0ADDR]], align 1
+; CHECK: [[T0ARG:%[a-zA-Z0-9_]+]] = zext i8 [[T0]] to i32
+; CHECK: [[U0ADDR:%[a-zA-Z0-9_]+]] = getelementptr inbounds [3 x i8], [3 x 
i8]* %u, i32 0, i32 0
+; CHECK: [[U0:%[a-zA-Z0-9_]+]] = load i8, i8* [[U0ADDR]], align 1
+; CHECK: [[U0ARG:%[a-zA-Z0-9_]+]] = zext i8 [[U0]] to i32
+; CHECK: call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 
x i8]* @.str, i32 0, i32 0), i32 [[T0ARG]], i32 [[U0ARG]])
+; CHECK: ret
+define void @test13() {
+entry:
+  %t = alloca [3 x i8], align 1
+  %u = alloca [3 x i8], align 1
+  %tmp = load i32, i32* @P, align 4
+  %tmp1 = mul i32 %tmp, 3
+  %mul = add i32 %tmp1, -2147483646
+  %idxprom = zext i32 %mul to i64
+  %arrayidx = getelementptr inbounds [3 x i8], [3 x i8]* %t, i64 0, i64 
%idxprom
+  store i8 42, i8* %arrayidx, align 1
+  %tmp2 = load i32, i32* @Q, align 4
+  %tmp3 = mul i32 %tmp2, 3
+  %mul2 = add i32 %tmp3, 2147483647
+  %idxprom3 = zext i32 %mul2 to i64
+  %arrayidx4 = getelementptr inbounds [3 x i8], [3 x i8]* %u, i64 0, i64 
%idxprom3
+  store i8 99, i8* %arrayidx4, align 1
+  %arrayidx5 = getelementptr inbounds [3 x i8], [3 x i8]* %t, i64 0, i64 0
+  %tmp4 = load i8, i8* %arrayidx5, align 1
+  %conv = zext i8 %tmp4 to i32
+  %arrayidx6 = getelementptr inbounds [3 x i8], [3 x i8]* %u, i64 0, i64 0
+  %tmp5 = load i8, i8* %arrayidx6, align 1
+  %conv7 = zext i8 %tmp5 to i32
+  %call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 
x i8]* @.str, i64 0, i64 0), i32 %conv, i32 %conv7)
+  ret void
+}
+
+declare i32 @printf(i8*, ...)


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245572 - Merging r245365 and r245369:

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 10:56:38 2015
New Revision: 245572

URL: http://llvm.org/viewvc/llvm-project?rev=245572&view=rev
Log:
Merging r245365 and r245369:

r245365 | majnemer | 2015-08-18 15:07:25 -0700 (Tue, 18 Aug 2015) | 4 lines

[InstSimplify] Don't assume getAggregateElement will succeed

It isn't always possible to get a value from getAggregateElement.
This fixes PR24488.



r245369 | majnemer | 2015-08-18 15:18:22 -0700 (Tue, 18 Aug 2015) | 3 lines

[InstSimplify] Remove unused variable

No functionality change is intended.


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Analysis/InstructionSimplify.cpp
llvm/branches/release_37/lib/Analysis/VectorUtils.cpp

llvm/branches/release_37/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 20 10:56:38 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245394-245395
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395

Modified: llvm/branches/release_37/lib/Analysis/InstructionSimplify.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Analysis/InstructionSimplify.cpp?rev=245572&r1=245571&r2=245572&view=diff
==
--- llvm/branches/release_37/lib/Analysis/InstructionSimplify.cpp (original)
+++ llvm/branches/release_37/lib/Analysis/InstructionSimplify.cpp Thu Aug 20 
10:56:38 2015
@@ -3574,18 +3574,9 @@ static Value *SimplifyExtractElementInst
 
   // If extracting a specified index from the vector, see if we can recursively
   // find a previously computed scalar that was inserted into the vector.
-  if (auto *IdxC = dyn_cast(Idx)) {
-unsigned IndexVal = IdxC->getZExtValue();
-unsigned VectorWidth = Vec->getType()->getVectorNumElements();
-
-// If this is extracting an invalid index, turn this into undef, to avoid
-// crashing the code below.
-if (IndexVal >= VectorWidth)
-  return UndefValue::get(Vec->getType()->getVectorElementType());
-
-if (Value *Elt = findScalarElement(Vec, IndexVal))
+  if (auto *IdxC = dyn_cast(Idx))
+if (Value *Elt = findScalarElement(Vec, IdxC->getZExtValue()))
   return Elt;
-  }
 
   return nullptr;
 }

Modified: llvm/branches/release_37/lib/Analysis/VectorUtils.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Analysis/VectorUtils.cpp?rev=245572&r1=245571&r2=245572&view=diff
==
--- llvm/branches/release_37/lib/Analysis/VectorUtils.cpp (original)
+++ llvm/branches/release_37/lib/Analysis/VectorUtils.cpp Thu Aug 20 10:56:38 
2015
@@ -402,8 +402,9 @@ llvm::Value *llvm::findScalarElement(llv
   if (match(V,
 llvm::PatternMatch::m_Add(llvm::PatternMatch::m_Value(Val),
   llvm::PatternMatch::m_Constant(Con {
-if (Con->getAggregateElement(EltNo)->isNullValue())
-  return findScalarElement(Val, EltNo);
+if (Constant *Elt = Con->getAggregateElement(EltNo))
+  if (Elt->isNullValue())
+return findScalarElement(Val, EltNo);
   }
 
   // Otherwise, we don't know.

Modified: 
llvm/branches/release_37/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll?rev=245572&r1=245571&r2=245572&view=diff
==
--- 
llvm/branches/release_37

[llvm-branch-commits] [llvm-branch] r245573 - Merging r245530:

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 11:03:44 2015
New Revision: 245573

URL: http://llvm.org/viewvc/llvm-project?rev=245573&view=rev
Log:
Merging r245530:

r245530 | hfinkel | 2015-08-19 18:18:20 -0700 (Wed, 19 Aug 2015) | 5 lines

[PowerPC] Fix the int2fp(fp2int(x)) DAGCombine to ignore ppc_fp128

This DAGCombine was creating custom SDAG nodes with an illegal ppc_fp128
operand type because it was triggering on f64/f32 int2fp(fp2int(ppc_fp128 x)),
but shouldn't (it should only apply to f32/f64 types). The result was a crash.


Added:
llvm/branches/release_37/test/CodeGen/PowerPC/fp2int2fp-ppcfp128.ll
  - copied unchanged from r245530, 
llvm/trunk/test/CodeGen/PowerPC/fp2int2fp-ppcfp128.ll
Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Target/PowerPC/PPCISelLowering.cpp

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 20 11:03:44 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530

Modified: llvm/branches/release_37/lib/Target/PowerPC/PPCISelLowering.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Target/PowerPC/PPCISelLowering.cpp?rev=245573&r1=245572&r2=245573&view=diff
==
--- llvm/branches/release_37/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/branches/release_37/lib/Target/PowerPC/PPCISelLowering.cpp Thu Aug 20 
11:03:44 2015
@@ -9966,6 +9966,9 @@ SDValue PPCTargetLowering::combineFPToIn
 if (Src.getValueType() == MVT::f32) {
   Src = DAG.getNode(ISD::FP_EXTEND, dl, MVT::f64, Src);
   DCI.AddToWorklist(Src.getNode());
+} else if (Src.getValueType() != MVT::f64) {
+  // Make sure that we don't pick up a ppc_fp128 source value.
+  return SDValue();
 }
 
 unsigned FCTOp =


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245574 - Merging r245535:

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 11:05:36 2015
New Revision: 245574

URL: http://llvm.org/viewvc/llvm-project?rev=245574&view=rev
Log:
Merging r245535:

r245535 | hfinkel | 2015-08-19 20:02:02 -0700 (Wed, 19 Aug 2015) | 6 lines

[PowerPC] Fix value type on XVCMPEQDP for v2f64 comparisons

XVCMPEQDP is used for VSX v2f64 equality comparisons, but the value type needs
to be v2i64 (as that's the corresponding SETCC type).

Fixes PR24225.


Added:
llvm/branches/release_37/test/CodeGen/PowerPC/xvcmpeqdp-v2f64.ll
  - copied unchanged from r245535, 
llvm/trunk/test/CodeGen/PowerPC/xvcmpeqdp-v2f64.ll
Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/lib/Target/PowerPC/PPCISelDAGToDAG.cpp

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 20 11:05:36 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530,245535

Modified: llvm/branches/release_37/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/lib/Target/PowerPC/PPCISelDAGToDAG.cpp?rev=245574&r1=245573&r2=245574&view=diff
==
--- llvm/branches/release_37/lib/Target/PowerPC/PPCISelDAGToDAG.cpp (original)
+++ llvm/branches/release_37/lib/Target/PowerPC/PPCISelDAGToDAG.cpp Thu Aug 20 
11:05:36 2015
@@ -2305,14 +2305,15 @@ SDNode *PPCDAGToDAGISel::SelectSETCC(SDN
 if (Swap)
   std::swap(LHS, RHS);
 
+EVT ResVT = VecVT.changeVectorElementTypeToInteger();
 if (Negate) {
-  SDValue VCmp(CurDAG->getMachineNode(VCmpInst, dl, VecVT, LHS, RHS), 0);
+  SDValue VCmp(CurDAG->getMachineNode(VCmpInst, dl, ResVT, LHS, RHS), 0);
   return CurDAG->SelectNodeTo(N, PPCSubTarget->hasVSX() ? PPC::XXLNOR :
   PPC::VNOR,
-  VecVT, VCmp, VCmp);
+  ResVT, VCmp, VCmp);
 }
 
-return CurDAG->SelectNodeTo(N, VCmpInst, VecVT, LHS, RHS);
+return CurDAG->SelectNodeTo(N, VCmpInst, ResVT, LHS, RHS);
   }
 
   if (PPCSubTarget->useCRBits())


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245615 - Merging r245560:

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 16:09:20 2015
New Revision: 245615

URL: http://llvm.org/viewvc/llvm-project?rev=245615&view=rev
Log:
Merging r245560:

r245560 | ogoffart | 2015-08-20 06:11:14 -0700 (Thu, 20 Aug 2015) | 5 lines

Fix crash with two typos in the arguments of a function

The problem is that the arguments are of TheCall are reset later
to the ones in Args, making TypoExpr put back. Some TypoExpr that have
already  been diagnosed and will assert later in Sema::getTypoExprState


Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/Sema/SemaExpr.cpp
cfe/branches/release_37/test/Sema/typo-correction.c

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 20 16:09:20 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245084,245259
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245084,245259,245560
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/Sema/SemaExpr.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/Sema/SemaExpr.cpp?rev=245615&r1=245614&r2=245615&view=diff
==
--- cfe/branches/release_37/lib/Sema/SemaExpr.cpp (original)
+++ cfe/branches/release_37/lib/Sema/SemaExpr.cpp Thu Aug 20 16:09:20 2015
@@ -4949,6 +4949,7 @@ Sema::BuildResolvedCallExpr(Expr *Fn, Na
 if (!Result.isUsable()) return ExprError();
 TheCall = dyn_cast(Result.get());
 if (!TheCall) return Result;
+Args = ArrayRef(TheCall->getArgs(), TheCall->getNumArgs());
   }
 
   // Bail out early if calling a builtin with custom typechecking.

Modified: cfe/branches/release_37/test/Sema/typo-correction.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/test/Sema/typo-correction.c?rev=245615&r1=245614&r2=245615&view=diff
==
--- cfe/branches/release_37/test/Sema/typo-correction.c (original)
+++ cfe/branches/release_37/test/Sema/typo-correction.c Thu Aug 20 16:09:20 2015
@@ -49,3 +49,9 @@ extern double cabs(_Complex double z);
 void fn1() {
   cabs(errij);  // expected-error {{use of undeclared identifier 'errij'}}
 }
+
+extern long afunction(int); // expected-note {{'afunction' declared here}}
+void fn2() {
+  f(THIS_IS_AN_ERROR, // expected-error {{use of undeclared identifier 
'THIS_IS_AN_ERROR'}}
+afunction(afunction_));  // expected-error {{use of undeclared identifier 
'afunction_'; did you mean 'afunction'?}}
+}


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245623 - Reverting r245456:

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 17:03:38 2015
New Revision: 245623

URL: http://llvm.org/viewvc/llvm-project?rev=245623&view=rev
Log:
Reverting r245456:


Modified:
cfe/branches/release_37/   (props changed)
cfe/branches/release_37/lib/Basic/Targets.cpp

Propchange: cfe/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Aug 20 17:03:38 2015
@@ -1,4 +1,4 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245084,245259,245560
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245259,245560
 /cfe/trunk/test:170344
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_37/lib/Basic/Targets.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/lib/Basic/Targets.cpp?rev=245623&r1=245622&r2=245623&view=diff
==
--- cfe/branches/release_37/lib/Basic/Targets.cpp (original)
+++ cfe/branches/release_37/lib/Basic/Targets.cpp Thu Aug 20 17:03:38 2015
@@ -3738,10 +3738,7 @@ namespace {
 class MinGWX86_32TargetInfo : public WindowsX86_32TargetInfo {
 public:
   MinGWX86_32TargetInfo(const llvm::Triple &Triple)
-  : WindowsX86_32TargetInfo(Triple) {
-LongDoubleWidth = LongDoubleAlign = 128;
-LongDoubleFormat = &llvm::APFloat::x87DoubleExtended;
-  }
+  : WindowsX86_32TargetInfo(Triple) {}
   void getTargetDefines(const LangOptions &Opts,
 MacroBuilder &Builder) const override {
 WindowsX86_32TargetInfo::getTargetDefines(Opts, Builder);
@@ -3971,10 +3968,7 @@ public:
 class MinGWX86_64TargetInfo : public WindowsX86_64TargetInfo {
 public:
   MinGWX86_64TargetInfo(const llvm::Triple &Triple)
-  : WindowsX86_64TargetInfo(Triple) {
-LongDoubleWidth = LongDoubleAlign = 128;
-LongDoubleFormat = &llvm::APFloat::x87DoubleExtended;
-  }
+  : WindowsX86_64TargetInfo(Triple) {}
   void getTargetDefines(const LangOptions &Opts,
 MacroBuilder &Builder) const override {
 WindowsX86_64TargetInfo::getTargetDefines(Opts, Builder);


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-tag] r245650 - Creating release candidate rc3 from release_370 branch

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 19:49:22 2015
New Revision: 245650

URL: http://llvm.org/viewvc/llvm-project?rev=245650&view=rev
Log:
Creating release candidate rc3 from release_370 branch

Added:
cfe/tags/RELEASE_370/rc3/   (props changed)
  - copied from r245649, cfe/branches/release_37/

Propchange: cfe/tags/RELEASE_370/rc3/
--
--- svn:ignore (added)
+++ svn:ignore Thu Aug 20 19:49:22 2015
@@ -0,0 +1,3 @@
+configure.out
+cscope.files
+cscope.out

Propchange: cfe/tags/RELEASE_370/rc3/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 20 19:49:22 2015
@@ -0,0 +1,4 @@
+/cfe/branches/type-system-rewrite:134693-134817
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245259,245560
+/cfe/trunk/test:170344
+/cfe/trunk/test/SemaTemplate:126920


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [polly] r245656 - Creating release candidate rc3 from release_370 branch

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 19:49:41 2015
New Revision: 245656

URL: http://llvm.org/viewvc/llvm-project?rev=245656&view=rev
Log:
Creating release candidate rc3 from release_370 branch

Added:
polly/tags/RELEASE_370/rc3/   (props changed)
  - copied from r245655, polly/branches/release_37/

Propchange: polly/tags/RELEASE_370/rc3/
--
svn:mergeinfo = /polly/trunk:244009


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [clang-tools-extra-tag] r245655 - Creating release candidate rc3 from release_370 branch

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 19:49:38 2015
New Revision: 245655

URL: http://llvm.org/viewvc/llvm-project?rev=245655&view=rev
Log:
Creating release candidate rc3 from release_370 branch

Added:
clang-tools-extra/tags/RELEASE_370/rc3/   (props changed)
  - copied from r245654, clang-tools-extra/branches/release_37/

Propchange: clang-tools-extra/tags/RELEASE_370/rc3/
--
svn:mergeinfo = /clang-tools-extra/trunk:244001


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [compiler-rt-tag] r245652 - Creating release candidate rc3 from release_370 branch

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 19:49:28 2015
New Revision: 245652

URL: http://llvm.org/viewvc/llvm-project?rev=245652&view=rev
Log:
Creating release candidate rc3 from release_370 branch

Added:
compiler-rt/tags/RELEASE_370/rc3/   (props changed)
  - copied from r245651, compiler-rt/branches/release_37/

Propchange: compiler-rt/tags/RELEASE_370/rc3/
--
--- svn:ignore (added)
+++ svn:ignore Thu Aug 20 19:49:28 2015
@@ -0,0 +1,3 @@
+Debug
+Profile
+Release

Propchange: compiler-rt/tags/RELEASE_370/rc3/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 20 19:49:28 2015
@@ -0,0 +1 @@
+/compiler-rt/trunk:242350,242424,242444,242449,242539-242540,242647,242651,243170,243384,243604,243615,243686,244002,244101,244646


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r245657 - Creating release candidate rc3 from release_370 branch

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 19:49:45 2015
New Revision: 245657

URL: http://llvm.org/viewvc/llvm-project?rev=245657&view=rev
Log:
Creating release candidate rc3 from release_370 branch

Added:
lldb/tags/RELEASE_370/rc3/   (props changed)
  - copied from r245656, lldb/branches/release_37/

Propchange: lldb/tags/RELEASE_370/rc3/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 20 19:49:45 2015
@@ -0,0 +1,3 @@
+/lldb/branches/apple/python-GIL:156467-162159
+/lldb/branches/iohandler:198360-200250
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866,245217


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-tag] r245649 - Creating release candidate rc3 from release_370 branch

2015-08-20 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 20 19:49:19 2015
New Revision: 245649

URL: http://llvm.org/viewvc/llvm-project?rev=245649&view=rev
Log:
Creating release candidate rc3 from release_370 branch

Added:
llvm/tags/RELEASE_370/rc3/   (props changed)
  - copied from r245648, llvm/branches/release_37/

Propchange: llvm/tags/RELEASE_370/rc3/
--
--- svn:ignore (added)
+++ svn:ignore Thu Aug 20 19:49:19 2015
@@ -0,0 +1,24 @@
+Debug
+Release
+Release-Asserts
+mklib
+Makefile.config
+config.log
+config.status
+cvs.out
+autom4te.cache
+configure.out
+LLVM-*
+_distcheckdir
+llvm.spec
+svn-commit.*
+*.patch
+*.patch.raw
+cscope.*
+Debug+Coverage-Asserts
+Release+Coverage-Asserts
+Debug+Coverage
+Release+Coverage
+Debug+Checks
+Debug+Asserts
+Release+Asserts

Propchange: llvm/tags/RELEASE_370/rc3/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 20 19:49:19 2015
@@ -0,0 +1,3 @@
+/llvm/branches/Apple/Pertwee:110850,110961
+/llvm/branches/type-system-rewrite:133420-134817
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530,245535


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


Re: [llvm-branch-commits] [llvm-branch] r245570 - Reapply "[SimplifyCFG] Be more aggressive" on branch_37

2015-08-21 Thread Hans Wennborg via llvm-branch-commits
On Thu, Aug 20, 2015 at 8:49 AM, Renato Golin via llvm-branch-commits
 wrote:
> Author: rengolin
> Date: Thu Aug 20 10:49:34 2015
> New Revision: 245570
>
> URL: http://llvm.org/viewvc/llvm-project?rev=245570&view=rev
> Log:
> Reapply "[SimplifyCFG] Be more aggressive" on branch_37
>
> I have underestimated the importance of this patch, and
> James has got a fix for it in the making. Sorry for the noise.

The revert also broke the Transforms/SimplifyCFG/clamp.ll test for
some reason, but not it looks good again.

Thanks,
Hans
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


Re: [llvm-branch-commits] [llvm-branch] r245570 - Reapply "[SimplifyCFG] Be more aggressive" on branch_37

2015-08-21 Thread Hans Wennborg via llvm-branch-commits
On Thu, Aug 20, 2015 at 8:57 AM, Renato Golin  wrote:
> On 20 August 2015 at 16:52, Hans Wennborg  wrote:
>> The revert also broke the Transforms/SimplifyCFG/clamp.ll test for
>> some reason, but not it looks good again.
>
> Yes, that was a bad call. James has told me how crucial that patch was
> to many other optimizations and even correctness issues in all
> back-ends.
>
> He's on a fix and we should wait until it comes, backport it and then
> get RC3 after that.
>
> Sorry again,

No problem at all. Thanks for working on this!

Cheers,
Hans
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245903 - Merging r245902:

2015-08-24 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Mon Aug 24 18:35:30 2015
New Revision: 245903

URL: http://llvm.org/viewvc/llvm-project?rev=245903&view=rev
Log:
Merging r245902:

r245902 | hans | 2015-08-24 16:34:28 -0700 (Mon, 24 Aug 2015) | 3 lines

Revert r245355 "Release script: correctly symlink clang-tools-extra into the 
build (PR22765)"

This worked with the CMake build but broke the Autoconf one.


Modified:
llvm/branches/release_37/   (props changed)
llvm/branches/release_37/utils/release/test-release.sh

Propchange: llvm/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Aug 24 18:35:30 2015
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530,245535
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530,245535,245902

Modified: llvm/branches/release_37/utils/release/test-release.sh
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/utils/release/test-release.sh?rev=245903&r1=245902&r2=245903&view=diff
==
--- llvm/branches/release_37/utils/release/test-release.sh (original)
+++ llvm/branches/release_37/utils/release/test-release.sh Mon Aug 24 18:35:30 
2015
@@ -266,9 +266,9 @@ function export_sources() {
 if [ ! -h clang ]; then
 ln -s ../../cfe.src clang
 fi
-cd $BuildDir/cfe.src/tools
+cd $BuildDir/llvm.src/tools/clang/tools
 if [ ! -h extra ]; then
-ln -s ../../clang-tools-extra.src extra
+ln -s ../../../../clang-tools-extra.src extra
 fi
 cd $BuildDir/llvm.src/projects
 if [ -d $BuildDir/test-suite.src ] && [ ! -h test-suite ]; then


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r245947 - Merging r245927:

2015-08-25 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 25 11:18:32 2015
New Revision: 245947

URL: http://llvm.org/viewvc/llvm-project?rev=245947&view=rev
Log:
Merging r245927:

r245927 | slthakur | 2015-08-25 02:52:59 -0700 (Tue, 25 Aug 2015) | 9 lines

Fix build on mips

Setting and getting register values as bytes instead of depending on the 128 
bit integer support in register value.
This patch will fix the build failure in the release branch.

Reviewers: tberghammer, clayborg, hans
Subscribers: bhushan, nitesh.jain, jaydeep, lldb-commits
Differential: http://reviews.llvm.org/D12275



Modified:
lldb/branches/release_37/   (props changed)

lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp

Propchange: lldb/branches/release_37/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Aug 25 11:18:32 2015
@@ -1,3 +1,3 @@
 /lldb/branches/apple/python-GIL:156467-162159
 /lldb/branches/iohandler:198360-200250
-/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866,245217
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866,245217,245927

Modified: 
lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp?rev=245947&r1=245946&r2=245947&view=diff
==
--- 
lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
 (original)
+++ 
lldb/branches/release_37/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
 Tue Aug 25 11:18:32 2015
@@ -584,7 +584,6 @@ NativeRegisterContextLinux_mips64::ReadR
 if (IsMSA(reg) || IsFPR(reg))
 {
 uint8_t *src;
-type128 int128;
 
 error = ReadCP1();
 
@@ -604,9 +603,6 @@ NativeRegisterContextLinux_mips64::ReadR
 assert (reg_info->byte_offset < sizeof(UserArea));
 src = (uint8_t *)&m_msa + reg_info->byte_offset - (sizeof(m_gpr) + 
sizeof(m_fpr));
 }
-int128.x[0] = *(uint64_t *)src;
-int128.x[1] = *(uint64_t *)(src + 8);
-llvm::APInt rhs = llvm::APInt(128, 2, int128.x);
 switch (reg_info->byte_size)
 {
 case 4:
@@ -616,7 +612,7 @@ NativeRegisterContextLinux_mips64::ReadR
 reg_value.SetUInt64(*(uint64_t *)src);
 break;
 case 16:
-reg_value.SetUInt128(rhs);
+reg_value.SetBytes((const void *)src, 16, GetByteOrder());
 break;
 default:
 assert(false && "Unhandled data size.");
@@ -660,7 +656,7 @@ NativeRegisterContextLinux_mips64::Write
 if (IsFPR(reg_index) || IsMSA(reg_index))
 {
 uint8_t *dst;
-const uint64_t *src;
+uint64_t *src;
 
 // Initialise the FP and MSA buffers by reading all co-processor 1 
registers
 ReadCP1();
@@ -675,8 +671,6 @@ NativeRegisterContextLinux_mips64::Write
 assert (reg_info->byte_offset < sizeof(UserArea));
 dst = (uint8_t *)&m_msa + reg_info->byte_offset - (sizeof(m_gpr) + 
sizeof(m_fpr));
 }
-llvm::APInt lhs;
-llvm::APInt fail_value = llvm::APInt::getMaxValue(128);
 switch (reg_info->byte_size)
 {
 case 4:
@@ -686,8 +680,7 @@ NativeRegisterContextLinux_mips64::Write
 *(uint64_t *)dst = reg_value.GetAsUInt64();
 break;
 case 16:
-lhs = reg_value.GetAsUInt128(fail_value);
-src = lhs.getRawData();
+src = (uint64_t *)reg_value.GetBytes();
 *(uint64_t *)dst = *src;
 *(uint64_t *)(dst + 8) = *(src + 1);
 break;


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245948 - Deprecate the DataLayout on the TargetMachine, and backport the 3.8 API to ease transition

2015-08-25 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 25 11:25:46 2015
New Revision: 245948

URL: http://llvm.org/viewvc/llvm-project?rev=245948&view=rev
Log:
Deprecate the DataLayout on the TargetMachine, and backport the 3.8 API to ease 
transition

By Mehdi Amini.

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst
llvm/branches/release_37/include/llvm-c/TargetMachine.h
llvm/branches/release_37/include/llvm/Target/TargetMachine.h

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245948&r1=245947&r2=245948&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Tue Aug 25 11:25:46 2015
@@ -53,6 +53,14 @@ Non-comprehensive list of changes in thi
   a pointer to make it explicit. The Module owns the datalayout and it has to
   match the one attached to the TargetMachine for generating code.
 
+  In 3.6, a pass was inserted in the pipeline to make the DataLayout 
accessible:
+MyPassManager->add(new DataLayoutPass(MyTargetMachine->getDataLayout()));
+  In 3.7, you don't need a pass, you set the DataLayout on the Module:
+MyModule->setDataLayout(MyTargetMachine->createDataLayout());
+
+  The LLVM C API `LLVMGetTargetMachineData` is deprecated to reflect the fact
+  that it won't be available anymore from TargetMachine in 3.8.
+
 * Comdats are now ortogonal to the linkage. LLVM will not create
   comdats for weak linkage globals and the frontends are responsible
   for explicitly adding them.

Modified: llvm/branches/release_37/include/llvm-c/TargetMachine.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/include/llvm-c/TargetMachine.h?rev=245948&r1=245947&r2=245948&view=diff
==
--- llvm/branches/release_37/include/llvm-c/TargetMachine.h (original)
+++ llvm/branches/release_37/include/llvm-c/TargetMachine.h Tue Aug 25 11:25:46 
2015
@@ -115,7 +115,7 @@ char *LLVMGetTargetMachineCPU(LLVMTarget
   LLVMDisposeMessage. */
 char *LLVMGetTargetMachineFeatureString(LLVMTargetMachineRef T);
 
-/** Returns the llvm::DataLayout used for this llvm:TargetMachine. */
+/** Deprecated: use LLVMGetDataLayout(LLVMModuleRef M) instead. */
 LLVMTargetDataRef LLVMGetTargetMachineData(LLVMTargetMachineRef T);
 
 /** Set the target machine's ASM verbosity. */

Modified: llvm/branches/release_37/include/llvm/Target/TargetMachine.h
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/include/llvm/Target/TargetMachine.h?rev=245948&r1=245947&r2=245948&view=diff
==
--- llvm/branches/release_37/include/llvm/Target/TargetMachine.h (original)
+++ llvm/branches/release_37/include/llvm/Target/TargetMachine.h Tue Aug 25 
11:25:46 2015
@@ -125,10 +125,15 @@ public:
 return *static_cast(getSubtargetImpl(F));
   }
 
+  /// Deprecated in 3.7, will be removed in 3.8. Use createDataLayout() 
instead.
+  ///
   /// This method returns a pointer to the DataLayout for the target. It should
   /// be unchanging for every subtarget.
   const DataLayout *getDataLayout() const { return &DL; }
 
+  /// Create a DataLayout.
+  const DataLayout createDataLayout() const { return DL; }
+
   /// \brief Reset the target options based on the function's attributes.
   // FIXME: Remove TargetOptions that affect per-function code generation
   // from TargetMachine.


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245968 - ReleaseNotes: remove in-progress warning

2015-08-25 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 25 14:51:36 2015
New Revision: 245968

URL: http://llvm.org/viewvc/llvm-project?rev=245968&view=rev
Log:
ReleaseNotes: remove in-progress warning

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245968&r1=245967&r2=245968&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Tue Aug 25 14:51:36 2015
@@ -5,12 +5,6 @@ LLVM 3.7 Release Notes
 .. contents::
 :local:
 
-.. warning::
-   These are in-progress notes for the upcoming LLVM 3.7 release.  You may
-   prefer the `LLVM 3.6 Release Notes `_.
-
-
 Introduction
 
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r245969 - ReleaseNotes: remove in-progress warning

2015-08-25 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 25 14:52:35 2015
New Revision: 245969

URL: http://llvm.org/viewvc/llvm-project?rev=245969&view=rev
Log:
ReleaseNotes: remove in-progress warning

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=245969&r1=245968&r2=245969&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Tue Aug 25 14:52:35 2015
@@ -8,11 +8,6 @@ Clang 3.7 (In-Progress) Release Notes
 
 Written by the `LLVM Team `_
 
-.. warning::
-
-   These are in-progress notes for the upcoming Clang 3.7 release. You may
-   prefer the `Clang 3.6 Release Notes
-   `_.
 
 Introduction
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r245972 - ReleaseNotes: some more touch-ups

2015-08-25 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 25 15:13:58 2015
New Revision: 245972

URL: http://llvm.org/viewvc/llvm-project?rev=245972&view=rev
Log:
ReleaseNotes: some more touch-ups

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=245972&r1=245971&r2=245972&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Tue Aug 25 15:13:58 2015
@@ -42,18 +42,18 @@ Non-comprehensive list of changes in thi
   collection of tips for frontend authors on how to generate IR which LLVM is
   able to effectively optimize.
 
-* The DataLayout is no longer optional. All the IR level optimizations expects
+* The ``DataLayout`` is no longer optional. All the IR level optimizations 
expects
   it to be present and the API has been changed to use a reference instead of
   a pointer to make it explicit. The Module owns the datalayout and it has to
   match the one attached to the TargetMachine for generating code.
 
-  In 3.6, a pass was inserted in the pipeline to make the DataLayout 
accessible:
-MyPassManager->add(new DataLayoutPass(MyTargetMachine->getDataLayout()));
-  In 3.7, you don't need a pass, you set the DataLayout on the Module:
-MyModule->setDataLayout(MyTargetMachine->createDataLayout());
+  In 3.6, a pass was inserted in the pipeline to make the ``DataLayout`` 
accessible:
+``MyPassManager->add(new 
DataLayoutPass(MyTargetMachine->getDataLayout()));``
+  In 3.7, you don't need a pass, you set the ``DataLayout`` on the ``Module``:
+``MyModule->setDataLayout(MyTargetMachine->createDataLayout());``
 
-  The LLVM C API `LLVMGetTargetMachineData` is deprecated to reflect the fact
-  that it won't be available anymore from TargetMachine in 3.8.
+  The LLVM C API ``LLVMGetTargetMachineData`` is deprecated to reflect the fact
+  that it won't be available anymore from ``TargetMachine`` in 3.8.
 
 * Comdats are now ortogonal to the linkage. LLVM will not create
   comdats for weak linkage globals and the frontends are responsible
@@ -78,7 +78,8 @@ Non-comprehensive list of changes in thi
   are turned off, to save compile time.
 
 * The debug info IR class hierarchy now inherits from ``Metadata`` and has its
-  own bitcode records and assembly syntax (documented in LangRef).  The debug
+  own bitcode records and assembly syntax
+  (`documented in LangRef `_).  The 
debug
   info verifier has been merged with the main verifier.
 
 * LLVM IR and APIs are in a period of transition to aid in the removal of
@@ -86,26 +87,9 @@ Non-comprehensive list of changes in thi
   if you will). Some APIs and IR constructs have been modified to take
   explicit types that are currently checked to match the target type of their
   pre-existing pointer type operands. Further changes are still needed, but the
-  more you can avoid using PointerType::getPointeeType, the easier the
+  more you can avoid using ``PointerType::getPointeeType``, the easier the
   migration will be.
 
-* ... next change ...
-
-.. NOTE
-   If you would like to document a larger change, then you can add a
-   subsection about it right here. You can copy the following boilerplate
-   and un-indent it (the indentation causes it to be inside this comment).
-
-   Special New Feature
-   ---
-
-   Makes programs 10x faster by doing Special New Thing.
-
-Changes to the ARM Backend
---
-
- During this release ...
-
 
 Changes to the MIPS Target
 --
@@ -114,8 +98,8 @@ During this release the MIPS target has:
 
 * Added support for MIPS32R3, MIPS32R5, MIPS32R3, MIPS32R5, and microMIPS32.
 
-* Added support for dynamic stack realignment. This of particular importance to
-  MSA on 32-bit subtargets since vectors always exceed the stack alignment on
+* Added support for dynamic stack realignment. This is of particular importance
+  to MSA on 32-bit subtargets since vectors always exceed the stack alignment 
on
   the O32 ABI.
 
 * Added support for compiler-rt including:
@@ -244,12 +228,6 @@ Changes to the SystemZ Target
 * Support for the z13 processor and its vector facility.
 
 
-Changes to the OCaml bindings
--
-
- During this release ...
-
-
 Changes to the JIT APIs
 ---
 
@@ -258,7 +236,7 @@ Changes to the JIT APIs
   ORC is a new JIT API inspired by MCJIT but designed to be more testable, and
   easier to extend with new features. A key new feature already in tree is 
lazy,
   function-at-a-time compilation for X86. Also included is a reimplementation 
of
-  MCJIT’s API and behavior (OrcMCJITReplacement). MCJIT itself remains in 
tree,
+  MCJIT's API and behavior (OrcMCJITReplacement). MCJIT itself remains in tree,
   and continues to be the default JIT Exe

[llvm-branch-commits] [cfe-branch] r245973 - ReleaseNotes: some touch-ups

2015-08-25 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Tue Aug 25 15:30:21 2015
New Revision: 245973

URL: http://llvm.org/viewvc/llvm-project?rev=245973&view=rev
Log:
ReleaseNotes: some touch-ups

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=245973&r1=245972&r2=245973&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Tue Aug 25 15:30:21 2015
@@ -1,6 +1,6 @@
-=
-Clang 3.7 (In-Progress) Release Notes
-=
+===
+Clang 3.7 Release Notes
+===
 
 .. contents::
:local:
@@ -26,11 +26,6 @@ the latest release, please check out the
 Site `_ or the `LLVM Web
 Site `_.
 
-Note that if you are reading this file from a Subversion checkout or the
-main Clang web page, this document applies to the *next* release, not
-the current one. To see the release notes for a specific release, please
-see the `releases page `_.
-
 What's New in Clang 3.7?
 
 
@@ -56,7 +51,7 @@ Major New Features
 
 
 Improvements to Clang's diagnostics
-^^^
+---
 
 Clang's diagnostics are constantly being improved to catch more issues,
 explain them more clearly, and provide more accurate source information
@@ -94,39 +89,6 @@ The sized deallocation feature of C++14
 isn't yet widely deployed, so the user must supply an extra flag to get the
 extra functionality.
 
-The option 
-
-
-New Pragmas in Clang

-
-Clang now supports the ...
-
-Windows Support

-
-Clang's support for building native Windows programs ...
-
-
-C Language Changes in Clang

-
-...
-
-C11 Feature Support
-^^^
-
-...
-
-C++ Language Changes in Clang
--
-
-- ...
-
-C++11 Feature Support
-^
-
-...
 
 Objective-C Language Changes in Clang
 -
@@ -134,13 +96,6 @@ Objective-C Language Changes in Clang
 - ``objc_boxable`` attribute was added. Structs and unions marked with this 
attribute can be
   used with boxed expressions (``@(...)``) to create ``NSValue``.
 
-...
-
-OpenCL C Language Changes in Clang
---
-
-...
-
 Profile Guided Optimization
 ---
 
@@ -158,20 +113,20 @@ profile analysis.
 OpenMP Support
 --
 OpenMP 3.1 is fully supported, but disabled by default. To enable it, please 
use
-``-fopenmp=libomp`` command line option. Your feedback (positive or negative) 
on
+the ``-fopenmp=libomp`` command line option. Your feedback (positive or 
negative) on
 using OpenMP-enabled clang would be much appreciated; please share it either on
 `cfe-dev `_ or `openmp-dev
 `_ mailing lists.
 
-In addition to OpenMP 3.1, several important elements of 4.0 version of the
+In addition to OpenMP 3.1, several important elements of the 4.0 version of the
 standard are supported as well:
+
 - ``omp simd``, ``omp for simd`` and ``omp parallel for simd`` pragmas
 - atomic constructs
 - ``proc_bind`` clause of ``omp parallel`` pragma
 - ``depend`` clause of ``omp task`` pragma (except for array sections)
 - ``omp cancel`` and ``omp cancellation point`` pragmas
 - ``omp taskgroup`` pragma
-...
 
 Internal API Changes
 
@@ -180,19 +135,14 @@ These are major API changes that have ha
 Clang. If upgrading an external codebase that uses Clang as a library,
 this section should help get you past the largest hurdles of upgrading.
 
--  Some of the `PPCallbacks` interface now deals in `MacroDefinition`
-   objects instead of `MacroDirective` objects. This allows preserving
+-  Some of the ``PPCallbacks`` interface now deals in ``MacroDefinition``
+   objects instead of ``MacroDirective`` objects. This allows preserving
full information on macros imported from modules.
 
--  `clang-c/Index.h` no longer `#include`\s `clang-c/Documentation.h`.
-   You now need to explicitly `#include "clang-c/Documentation.h"` if
+-  ``clang-c/Index.h`` no longer ``#include``\s ``clang-c/Documentation.h``.
+   You now need to explicitly ``#include "clang-c/Documentation.h"`` if
you use the libclang documentation API.
 
-libclang
-
-
-...
-
 Static Analyzer
 ---
 
@@ -248,71 +198,51 @@ clang-tidy
 --
 Added new checks:
 
-  * google-global-names-in-headers: flag global namespace pollution in header
-files.
-
-  * misc-assert-side-effect: detects `assert()` conditions with side effects
-which can cause

[llvm-branch-commits] [llvm-branch] r246053 - Polly subproject release notes

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 13:58:15 2015
New Revision: 246053

URL: http://llvm.org/viewvc/llvm-project?rev=246053&view=rev
Log:
Polly subproject release notes

By Tobias Grosser!

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=246053&r1=246052&r2=246053&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Wed Aug 26 13:58:15 2015
@@ -246,6 +246,114 @@ Changes to the JIT APIs
   encouraged to try ORC out for their projects. (A good place to start is the
   new ORC tutorials under llvm/examples/kaleidoscope/orc).
 
+Sub-project Status Update
+=
+
+In addition to the core LLVM 3.7 distribution of production-quality compiler
+infrastructure, the LLVM project includes sub-projects that use the LLVM core
+and share the same distribution license. This section provides updates on these
+sub-projects.
+
+Polly - The Polyhedral Loop Optimizer in LLVM
+-
+
+`Polly `_ is a polyhedral loop optimization
+infrastructure that provides data-locality optimizations to LLVM-based
+compilers. When compiled as part of clang or loaded as a module into clang,
+it can perform loop optimizations such as tiling, loop fusion or outer-loop
+vectorization. As a generic loop optimization infrastructure it allows
+developers to get a per-loop-iteration model of a loop nest on which detailed
+analysis and transformations can be performed.
+
+Changes since the last release:
+
+* isl imported into Polly distribution
+
+`isl `_, the math library Polly uses, has been
+imported into the source code repository of Polly and is now distributed as 
part
+of Polly. As this was the last external library dependency of Polly, Polly can
+now be compiled right after checking out the Polly source code without the need
+for any additional libraries to be pre-installed.
+
+* Small integer optimization of isl
+
+The MIT licensed imath backend using in `isl `_ 
for
+arbitrary width integer computations has been optimized to use native integer
+operations for the common case where the operands of a computation fit into 32
+bit and to only fall back to large arbitrary precision integers for the
+remaining cases. This optimization has greatly improved the compile-time
+performance of Polly, both due to faster native operations also due to a
+reduction in malloc traffic and pointer indirections. As a result, computations
+that use arbitrary precision integers heavily have been speed up by almost 6x.
+As a result, the compile-time of Polly on the Polybench test kernels in the LNT
+suite has been reduced by 20% on average with compile time reductions between
+9-43%.
+
+* Schedule Trees
+
+Polly now uses internally so-called > Schedule Trees < to model the loop
+structure it optimizes. Schedule trees are an easy to understand tree structure
+that describes a loop nest using integer constraint sets to keep track of
+execution constraints. It allows the developer to use per-tree-node operations
+to modify the loop tree. Programatic analysis that work on the schedule tree
+(e.g., as dependence analysis) also show a visible speedup as they can exploit
+the tree structure of the schedule and need to fall back to ILP based
+optimization problems less often. Section 6 of `Polyhedral AST generation is
+more than scanning polyhedra
+`_ gives a detailed
+explanation of this schedule trees.
+
+* Scalar and PHI node modeling - Polly as an analysis
+
+Polly now requires almost no preprocessing to analyse LLVM-IR, which makes it
+easier to use Polly as a pure analysis pass e.g. to provide more precise
+dependence information to non-polyhedral transformation passes. Originally,
+Polly required the input LLVM-IR to be preprocessed such that all scalar and
+PHI-node dependences are translated to in-memory operations. Since this 
release,
+Polly has full support for scalar and PHI node dependences and requires no
+scalar-to-memory translation for such kind of dependences.
+
+* Modeling of modulo and non-affine conditions
+
+Polly can now supports modulo operations such as A[t%2][i][j] as they appear
+often in stencil computations and also allows data-dependent conditional
+branches as they result e.g. from ternary conditions ala A[i] > 255 ? 255 :
+A[i].
+
+* Delinearization
+
+Polly now support the analysis of manually linearized multi-dimensional arrays
+as they result form macros such as
+"#define 2DARRAY(A,i,j) (A.data[(i) * A.size + (j)]". Similar constructs appear
+in old C code written before C99, C++ code such as boost::ublas, LLVM exported
+from Julia, Matlab gen

[llvm-branch-commits] [llvm-branch] r246071 - Add a release note about raising the minimum Windows version for the next major release

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 15:19:38 2015
New Revision: 246071

URL: http://llvm.org/viewvc/llvm-project?rev=246071&view=rev
Log:
Add a release note about raising the minimum Windows version for the next major 
release

Patch by Greg Bedwell!

Differential Revision: http://reviews.llvm.org/D12367

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=246071&r1=246070&r2=246071&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Wed Aug 26 15:19:38 2015
@@ -96,6 +96,10 @@ Non-comprehensive list of changes in thi
   target, but implementing full ``Function`` based ``TargetSubtargetInfo``
   support is recommended.
 
+* This is expected to be the last major release of LLVM that supports being
+  run on Windows XP and Windows Vista.  For the next major release the minimum
+  Windows version requirement will be Windows 7.
+
 Changes to the MIPS Target
 --
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r246072 - Release Notes expansion for BPF

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 15:28:56 2015
New Revision: 246072

URL: http://llvm.org/viewvc/llvm-project?rev=246072&view=rev
Log:
Release Notes expansion for BPF

By Brenden Blanco!

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=246072&r1=246071&r2=246072&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Wed Aug 26 15:28:56 2015
@@ -72,6 +72,19 @@ Non-comprehensive list of changes in thi
   instruction set that can be dynamically loaded into the Linux kernel via the
   `bpf(2) `_ syscall.
 
+  Support for BPF has been present in the kernel for some time, but starting
+  from 3.18 has been extended with such features as: 64-bit registers, 8
+  additional registers registers, conditional backwards jumps, call
+  instruction, shift instructions, map (hash table, array, etc.), 1-8 byte
+  load/store from stack, and more.
+
+  Up until now, users of BPF had to write bytecode by hand, or use
+  custom generators. This release adds a proper LLVM backend target for the BPF
+  bytecode architecture.
+
+  The BPF target is now available by default, and options exist in both Clang
+  (-target bpf) or llc (-march=bpf) to pick eBPF as a backend.
+
 * Switch-case lowering was rewritten to avoid generating unbalanced search 
trees
   (`PR22262 `_) and to exploit profile information
   when available. Some lowering strategies are now disabled when optimizations


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r246090 - Add a clang release note about raising the minimum Windows version for the next major release

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 17:01:10 2015
New Revision: 246090

URL: http://llvm.org/viewvc/llvm-project?rev=246090&view=rev
Log:
Add a clang release note about raising the minimum Windows version for the next 
major release

By Greg Bedwell!

Differential Revision: http://reviews.llvm.org/D12368

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=246090&r1=246089&r2=246090&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Wed Aug 26 17:01:10 2015
@@ -247,6 +247,12 @@ Added new checks:
   boolean constants and simplifies them to use the appropriate boolean
   expression directly (``if (x == true) ... -> if (x)``, etc.)
 
+Last release which will run on Windows XP and Windows Vista
+---
+
+This is expected to the be the last major release of Clang that will support
+running on Windows XP and Windows Vista.  For the next major release the
+minimum Windows version requirement will be Windows 7.
 
 Additional Information
 ==


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r246108 - ReleaseNotes: fix some indentation

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 18:27:03 2015
New Revision: 246108

URL: http://llvm.org/viewvc/llvm-project?rev=246108&view=rev
Log:
ReleaseNotes: fix some indentation

Modified:
llvm/branches/release_37/docs/ReleaseNotes.rst

Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=246108&r1=246107&r2=246108&view=diff
==
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Wed Aug 26 18:27:03 2015
@@ -286,89 +286,89 @@ Changes since the last release:
 
 * isl imported into Polly distribution
 
-`isl `_, the math library Polly uses, has been
-imported into the source code repository of Polly and is now distributed as 
part
-of Polly. As this was the last external library dependency of Polly, Polly can
-now be compiled right after checking out the Polly source code without the need
-for any additional libraries to be pre-installed.
+  `isl `_, the math library Polly uses, has been
+  imported into the source code repository of Polly and is now distributed as 
part
+  of Polly. As this was the last external library dependency of Polly, Polly 
can
+  now be compiled right after checking out the Polly source code without the 
need
+  for any additional libraries to be pre-installed.
 
 * Small integer optimization of isl
 
-The MIT licensed imath backend using in `isl `_ 
for
-arbitrary width integer computations has been optimized to use native integer
-operations for the common case where the operands of a computation fit into 32
-bit and to only fall back to large arbitrary precision integers for the
-remaining cases. This optimization has greatly improved the compile-time
-performance of Polly, both due to faster native operations also due to a
-reduction in malloc traffic and pointer indirections. As a result, computations
-that use arbitrary precision integers heavily have been speed up by almost 6x.
-As a result, the compile-time of Polly on the Polybench test kernels in the LNT
-suite has been reduced by 20% on average with compile time reductions between
-9-43%.
+  The MIT licensed imath backend using in `isl `_ 
for
+  arbitrary width integer computations has been optimized to use native integer
+  operations for the common case where the operands of a computation fit into 
32
+  bit and to only fall back to large arbitrary precision integers for the
+  remaining cases. This optimization has greatly improved the compile-time
+  performance of Polly, both due to faster native operations also due to a
+  reduction in malloc traffic and pointer indirections. As a result, 
computations
+  that use arbitrary precision integers heavily have been speed up by almost 
6x.
+  As a result, the compile-time of Polly on the Polybench test kernels in the 
LNT
+  suite has been reduced by 20% on average with compile time reductions between
+  9-43%.
 
 * Schedule Trees
 
-Polly now uses internally so-called > Schedule Trees < to model the loop
-structure it optimizes. Schedule trees are an easy to understand tree structure
-that describes a loop nest using integer constraint sets to keep track of
-execution constraints. It allows the developer to use per-tree-node operations
-to modify the loop tree. Programatic analysis that work on the schedule tree
-(e.g., as dependence analysis) also show a visible speedup as they can exploit
-the tree structure of the schedule and need to fall back to ILP based
-optimization problems less often. Section 6 of `Polyhedral AST generation is
-more than scanning polyhedra
-`_ gives a detailed
-explanation of this schedule trees.
+  Polly now uses internally so-called > Schedule Trees < to model the loop
+  structure it optimizes. Schedule trees are an easy to understand tree 
structure
+  that describes a loop nest using integer constraint sets to keep track of
+  execution constraints. It allows the developer to use per-tree-node 
operations
+  to modify the loop tree. Programatic analysis that work on the schedule tree
+  (e.g., as dependence analysis) also show a visible speedup as they can 
exploit
+  the tree structure of the schedule and need to fall back to ILP based
+  optimization problems less often. Section 6 of `Polyhedral AST generation is
+  more than scanning polyhedra
+  `_ gives a detailed
+  explanation of this schedule trees.
 
 * Scalar and PHI node modeling - Polly as an analysis
 
-Polly now requires almost no preprocessing to analyse LLVM-IR, which makes it
-easier to use Polly as a pure analysis pass e.g. to provide more precise
-dependence information to non-polyhedral transformation passes. Originally,
-Polly

[llvm-branch-commits] [cfe-tag] r246110 - Creating release candidate rc4 from release_370 branch

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 18:34:43 2015
New Revision: 246110

URL: http://llvm.org/viewvc/llvm-project?rev=246110&view=rev
Log:
Creating release candidate rc4 from release_370 branch

Added:
cfe/tags/RELEASE_370/rc4/   (props changed)
  - copied from r246109, cfe/branches/release_37/

Propchange: cfe/tags/RELEASE_370/rc4/
--
--- svn:ignore (added)
+++ svn:ignore Wed Aug 26 18:34:43 2015
@@ -0,0 +1,3 @@
+configure.out
+cscope.files
+cscope.out

Propchange: cfe/tags/RELEASE_370/rc4/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Aug 26 18:34:43 2015
@@ -0,0 +1,4 @@
+/cfe/branches/type-system-rewrite:134693-134817
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245259,245560
+/cfe/trunk/test:170344
+/cfe/trunk/test/SemaTemplate:126920


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [compiler-rt-tag] r246112 - Creating release candidate rc4 from release_370 branch

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 18:34:50 2015
New Revision: 246112

URL: http://llvm.org/viewvc/llvm-project?rev=246112&view=rev
Log:
Creating release candidate rc4 from release_370 branch

Added:
compiler-rt/tags/RELEASE_370/rc4/   (props changed)
  - copied from r246111, compiler-rt/branches/release_37/

Propchange: compiler-rt/tags/RELEASE_370/rc4/
--
--- svn:ignore (added)
+++ svn:ignore Wed Aug 26 18:34:50 2015
@@ -0,0 +1,3 @@
+Debug
+Profile
+Release

Propchange: compiler-rt/tags/RELEASE_370/rc4/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Aug 26 18:34:50 2015
@@ -0,0 +1 @@
+/compiler-rt/trunk:242350,242424,242444,242449,242539-242540,242647,242651,243170,243384,243604,243615,243686,244002,244101,244646


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-tag] r246109 - Creating release candidate rc4 from release_370 branch

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 18:34:40 2015
New Revision: 246109

URL: http://llvm.org/viewvc/llvm-project?rev=246109&view=rev
Log:
Creating release candidate rc4 from release_370 branch

Added:
llvm/tags/RELEASE_370/rc4/   (props changed)
  - copied from r246108, llvm/branches/release_37/

Propchange: llvm/tags/RELEASE_370/rc4/
--
--- svn:ignore (added)
+++ svn:ignore Wed Aug 26 18:34:40 2015
@@ -0,0 +1,24 @@
+Debug
+Release
+Release-Asserts
+mklib
+Makefile.config
+config.log
+config.status
+cvs.out
+autom4te.cache
+configure.out
+LLVM-*
+_distcheckdir
+llvm.spec
+svn-commit.*
+*.patch
+*.patch.raw
+cscope.*
+Debug+Coverage-Asserts
+Release+Coverage-Asserts
+Debug+Coverage
+Release+Coverage
+Debug+Checks
+Debug+Asserts
+Release+Asserts

Propchange: llvm/tags/RELEASE_370/rc4/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Aug 26 18:34:40 2015
@@ -0,0 +1,3 @@
+/llvm/branches/Apple/Pertwee:110850,110961
+/llvm/branches/type-system-rewrite:133420-134817
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530,245535,245902


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [clang-tools-extra-tag] r246115 - Creating release candidate rc4 from release_370 branch

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 18:34:59 2015
New Revision: 246115

URL: http://llvm.org/viewvc/llvm-project?rev=246115&view=rev
Log:
Creating release candidate rc4 from release_370 branch

Added:
clang-tools-extra/tags/RELEASE_370/rc4/   (props changed)
  - copied from r246114, clang-tools-extra/branches/release_37/

Propchange: clang-tools-extra/tags/RELEASE_370/rc4/
--
svn:mergeinfo = /clang-tools-extra/trunk:244001


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [polly] r246116 - Creating release candidate rc4 from release_370 branch

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 18:35:02 2015
New Revision: 246116

URL: http://llvm.org/viewvc/llvm-project?rev=246116&view=rev
Log:
Creating release candidate rc4 from release_370 branch

Added:
polly/tags/RELEASE_370/rc4/   (props changed)
  - copied from r246115, polly/branches/release_37/

Propchange: polly/tags/RELEASE_370/rc4/
--
svn:mergeinfo = /polly/trunk:244009


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r246117 - Creating release candidate rc4 from release_370 branch

2015-08-26 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Aug 26 18:35:05 2015
New Revision: 246117

URL: http://llvm.org/viewvc/llvm-project?rev=246117&view=rev
Log:
Creating release candidate rc4 from release_370 branch

Added:
lldb/tags/RELEASE_370/rc4/   (props changed)
  - copied from r246116, lldb/branches/release_37/

Propchange: lldb/tags/RELEASE_370/rc4/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Aug 26 18:35:05 2015
@@ -0,0 +1,3 @@
+/lldb/branches/apple/python-GIL:156467-162159
+/lldb/branches/iohandler:198360-200250
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866,245217,245927


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r246157 - ReleaseNotes: Move SystemZ so it doesn't come between the static analyzer

2015-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 27 11:18:08 2015
New Revision: 246157

URL: http://llvm.org/viewvc/llvm-project?rev=246157&view=rev
Log:
ReleaseNotes: Move SystemZ so it doesn't come between the static analyzer
and clang-tidy sections, which concern similar functionality.

Modified:
cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=246157&r1=246156&r2=246157&view=diff
==
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Thu Aug 27 11:18:08 2015
@@ -165,39 +165,6 @@ Static Analyzer
 * Various improvements to the retain count checker.
 
 
-SystemZ

-
-* Clang will now always default to the z10 processor when compiling
-  without any ``-march=`` option. Previous releases used to automatically
-  detect the current host CPU when compiling natively. If you wish to
-  still have clang detect the current host CPU, you now need to use the
-  ``-march=native`` option.
-
-* Clang now provides the  header file.
-
-* Clang now supports the transactional-execution facility and
-  provides associated builtins and the  and
-   header files. Support is enabled by default
-  on zEC12 and above, and can additionally be enabled or disabled
-  via the ``-mhtm`` / ``-mno-htm`` command line options.
-
-* Clang now supports the vector facility. This includes a
-  change in the ABI to pass arguments and return values of
-  vector types in vector registers, as well as a change in
-  the default alignment of vector types. Support is enabled
-  by default on z13 and above, and can additionally be enabled
-  or disabled via the ``-mvx`` / ``-mno-vx`` command line options.
-
-* Clang now supports the System z vector language extension,
-  providing a "vector" keyword to define vector types, and a
-  set of builtins defined in the  header file.
-  This can be enabled via the ``-fzvector`` command line option.
-  For compatibility with GCC, Clang also supports the
-  ``-mzvector`` option as an alias.
- 
-* Several cases of ABI incompatibility with GCC have been fixed.
-
 clang-tidy
 --
 Added new checks:
@@ -247,6 +214,40 @@ Added new checks:
   boolean constants and simplifies them to use the appropriate boolean
   expression directly (``if (x == true) ... -> if (x)``, etc.)
 
+SystemZ
+---
+
+* Clang will now always default to the z10 processor when compiling
+  without any ``-march=`` option. Previous releases used to automatically
+  detect the current host CPU when compiling natively. If you wish to
+  still have clang detect the current host CPU, you now need to use the
+  ``-march=native`` option.
+
+* Clang now provides the  header file.
+
+* Clang now supports the transactional-execution facility and
+  provides associated builtins and the  and
+   header files. Support is enabled by default
+  on zEC12 and above, and can additionally be enabled or disabled
+  via the ``-mhtm`` / ``-mno-htm`` command line options.
+
+* Clang now supports the vector facility. This includes a
+  change in the ABI to pass arguments and return values of
+  vector types in vector registers, as well as a change in
+  the default alignment of vector types. Support is enabled
+  by default on z13 and above, and can additionally be enabled
+  or disabled via the ``-mvx`` / ``-mno-vx`` command line options.
+
+* Clang now supports the System z vector language extension,
+  providing a "vector" keyword to define vector types, and a
+  set of builtins defined in the  header file.
+  This can be enabled via the ``-fzvector`` command line option.
+  For compatibility with GCC, Clang also supports the
+  ``-mzvector`` option as an alias.
+ 
+* Several cases of ABI incompatibility with GCC have been fixed.
+
+
 Last release which will run on Windows XP and Windows Vista
 ---
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [compiler-rt-tag] r246249 - Creating release candidate final from release_370 branch

2015-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 27 20:43:55 2015
New Revision: 246249

URL: http://llvm.org/viewvc/llvm-project?rev=246249&view=rev
Log:
Creating release candidate final from release_370 branch

Added:
compiler-rt/tags/RELEASE_370/final/   (props changed)
  - copied from r246248, compiler-rt/branches/release_37/

Propchange: compiler-rt/tags/RELEASE_370/final/
--
--- svn:ignore (added)
+++ svn:ignore Thu Aug 27 20:43:55 2015
@@ -0,0 +1,3 @@
+Debug
+Profile
+Release

Propchange: compiler-rt/tags/RELEASE_370/final/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 27 20:43:55 2015
@@ -0,0 +1 @@
+/compiler-rt/trunk:242350,242424,242444,242449,242539-242540,242647,242651,243170,243384,243604,243615,243686,244002,244101,244646


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-tag] r246246 - Creating release candidate final from release_370 branch

2015-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 27 20:43:46 2015
New Revision: 246246

URL: http://llvm.org/viewvc/llvm-project?rev=246246&view=rev
Log:
Creating release candidate final from release_370 branch

Added:
llvm/tags/RELEASE_370/final/   (props changed)
  - copied from r246245, llvm/branches/release_37/

Propchange: llvm/tags/RELEASE_370/final/
--
--- svn:ignore (added)
+++ svn:ignore Thu Aug 27 20:43:46 2015
@@ -0,0 +1,24 @@
+Debug
+Release
+Release-Asserts
+mklib
+Makefile.config
+config.log
+config.status
+cvs.out
+autom4te.cache
+configure.out
+LLVM-*
+_distcheckdir
+llvm.spec
+svn-commit.*
+*.patch
+*.patch.raw
+cscope.*
+Debug+Coverage-Asserts
+Release+Coverage-Asserts
+Debug+Coverage
+Release+Coverage
+Debug+Checks
+Debug+Asserts
+Release+Asserts

Propchange: llvm/tags/RELEASE_370/final/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 27 20:43:46 2015
@@ -0,0 +1,3 @@
+/llvm/branches/Apple/Pertwee:110850,110961
+/llvm/branches/type-system-rewrite:133420-134817
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,28,244554,244644,244659,244676,244789,244889,245064,245105,245119,245256,245355,245365,245369,245394-245395,245530,245535,245902


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-tag] r246247 - Creating release candidate final from release_370 branch

2015-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 27 20:43:49 2015
New Revision: 246247

URL: http://llvm.org/viewvc/llvm-project?rev=246247&view=rev
Log:
Creating release candidate final from release_370 branch

Added:
cfe/tags/RELEASE_370/final/   (props changed)
  - copied from r246246, cfe/branches/release_37/

Propchange: cfe/tags/RELEASE_370/final/
--
--- svn:ignore (added)
+++ svn:ignore Thu Aug 27 20:43:49 2015
@@ -0,0 +1,3 @@
+configure.out
+cscope.files
+cscope.out

Propchange: cfe/tags/RELEASE_370/final/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 27 20:43:49 2015
@@ -0,0 +1,4 @@
+/cfe/branches/type-system-rewrite:134693-134817
+/cfe/trunk:242244,242285,242293,242297,242313,242382,242422,242499,242574,242600,242660,242662,242667,242678,242766,242854,242905,242973,243018,243048,243085,243098,243101,243105,243133,243144,243153,243196,243206,243277,243280,243285,243289,243343,243417,243463,243538,243594,243642-243644,243851,243945-243950,243964,244000,244193,244266,244468,244488,244502,244719,244794,244902,245041,245259,245560
+/cfe/trunk/test:170344
+/cfe/trunk/test/SemaTemplate:126920


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [clang-tools-extra-tag] r246252 - Creating release candidate final from release_370 branch

2015-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 27 20:44:03 2015
New Revision: 246252

URL: http://llvm.org/viewvc/llvm-project?rev=246252&view=rev
Log:
Creating release candidate final from release_370 branch

Added:
clang-tools-extra/tags/RELEASE_370/final/   (props changed)
  - copied from r246251, clang-tools-extra/branches/release_37/

Propchange: clang-tools-extra/tags/RELEASE_370/final/
--
svn:mergeinfo = /clang-tools-extra/trunk:244001


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [polly] r246253 - Creating release candidate final from release_370 branch

2015-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 27 20:44:06 2015
New Revision: 246253

URL: http://llvm.org/viewvc/llvm-project?rev=246253&view=rev
Log:
Creating release candidate final from release_370 branch

Added:
polly/tags/RELEASE_370/final/   (props changed)
  - copied from r246252, polly/branches/release_37/

Propchange: polly/tags/RELEASE_370/final/
--
svn:mergeinfo = /polly/trunk:244009


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r246254 - Creating release candidate final from release_370 branch

2015-08-27 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Thu Aug 27 20:44:09 2015
New Revision: 246254

URL: http://llvm.org/viewvc/llvm-project?rev=246254&view=rev
Log:
Creating release candidate final from release_370 branch

Added:
lldb/tags/RELEASE_370/final/   (props changed)
  - copied from r246253, lldb/branches/release_37/

Propchange: lldb/tags/RELEASE_370/final/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu Aug 27 20:44:09 2015
@@ -0,0 +1,3 @@
+/lldb/branches/apple/python-GIL:156467-162159
+/lldb/branches/iohandler:198360-200250
+/lldb/trunk:242306,242381,242525,242529,243091,243618,244006,244864-244866,245217,245927


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r257630 - Creating release_38 branch off revision 257626

2016-01-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Jan 13 11:34:56 2016
New Revision: 257630

URL: http://llvm.org/viewvc/llvm-project?rev=257630&view=rev
Log:
Creating release_38 branch off revision 257626

Added:
llvm/branches/release_38/   (props changed)
  - copied from r257626, llvm/trunk/

Propchange: llvm/branches/release_38/
--
--- svn:ignore (added)
+++ svn:ignore Wed Jan 13 11:34:56 2016
@@ -0,0 +1,25 @@
+Debug
+Release
+Release-Asserts
+mklib
+Makefile.config
+config.log
+config.status
+cvs.out
+autom4te.cache
+configure.out
+LLVM-*
+_distcheckdir
+llvm.spec
+svn-commit.*
+*.patch
+*.patch.raw
+cscope.*
+Debug+Coverage-Asserts
+Release+Coverage-Asserts
+Debug+Coverage
+Release+Coverage
+Debug+Checks
+Debug+Asserts
+Release+Asserts
+build

Propchange: llvm/branches/release_38/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Jan 13 11:34:56 2016
@@ -0,0 +1,3 @@
+/llvm/branches/Apple/Pertwee:110850,110961
+/llvm/branches/type-system-rewrite:133420-134817
+/llvm/trunk:155241


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [cfe-branch] r257631 - Creating release_38 branch off revision 257626

2016-01-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Jan 13 11:34:59 2016
New Revision: 257631

URL: http://llvm.org/viewvc/llvm-project?rev=257631&view=rev
Log:
Creating release_38 branch off revision 257626

Added:
cfe/branches/release_38/   (props changed)
  - copied from r257626, cfe/trunk/

Propchange: cfe/branches/release_38/
--
--- svn:ignore (added)
+++ svn:ignore Wed Jan 13 11:34:59 2016
@@ -0,0 +1,3 @@
+configure.out
+cscope.files
+cscope.out

Propchange: cfe/branches/release_38/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Jan 13 11:34:59 2016
@@ -0,0 +1,3 @@
+/cfe/branches/type-system-rewrite:134693-134817
+/cfe/trunk/test:170344
+/cfe/trunk/test/SemaTemplate:126920


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [compiler-rt-branch] r257633 - Creating release_38 branch off revision 257626

2016-01-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Jan 13 11:35:04 2016
New Revision: 257633

URL: http://llvm.org/viewvc/llvm-project?rev=257633&view=rev
Log:
Creating release_38 branch off revision 257626

Added:
compiler-rt/branches/release_38/
  - copied from r257626, compiler-rt/trunk/

___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [clang-tools-extra-branch] r257636 - Creating release_38 branch off revision 257626

2016-01-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Jan 13 11:35:13 2016
New Revision: 257636

URL: http://llvm.org/viewvc/llvm-project?rev=257636&view=rev
Log:
Creating release_38 branch off revision 257626

Added:
clang-tools-extra/branches/release_38/
  - copied from r257626, clang-tools-extra/trunk/

___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lldb] r257638 - Creating release_38 branch off revision 257626

2016-01-13 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Wed Jan 13 11:35:20 2016
New Revision: 257638

URL: http://llvm.org/viewvc/llvm-project?rev=257638&view=rev
Log:
Creating release_38 branch off revision 257626

Added:
lldb/branches/release_38/   (props changed)
  - copied from r257626, lldb/trunk/

Propchange: lldb/branches/release_38/
--
--- svn:ignore (added)
+++ svn:ignore Wed Jan 13 11:35:20 2016
@@ -0,0 +1,4 @@
+build
+intermediates
+llvm
+llvm-build

Propchange: lldb/branches/release_38/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Jan 13 11:35:20 2016
@@ -0,0 +1,2 @@
+/lldb/branches/apple/python-GIL:156467-162159
+/lldb/branches/iohandler:198360-200250


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


  1   2   3   4   5   6   7   8   9   10   >