Displaying 5 results from an estimated 5 matches for "possiblyexactoperator".
2012 Sep 28
0
[LLVMdev] LLVM build fails using gcc-4.7.0 and -std=c++11 flags
I've fixed this specific error in r164813. Please let me know if there are
more behind it.
On Thu, Sep 27, 2012 at 2:16 PM, Sid Manning <sidneym at codeaurora.org> wrote:
>
> I just updated my llvm sources (revision 164794.) and I see the error,
> "overriding non-deleted function" when building with gcc 4.7.0 and passing
> -std=c++11.
>
>
2012 Sep 27
2
[LLVMdev] LLVM build fails using gcc-4.7.0 and -std=c++11 flags
I just updated my llvm sources (revision 164794.) and I see the error, 
"overriding non-deleted function" when building with gcc 4.7.0 and 
passing -std=c++11.
/usr2/sidneym/llvm/tools/install/bin/c++   -D_GNU_SOURCE -D_DEBUG 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-std=c++11 -fPIC -fvisibility-inlines-hidden 
-I/local/scratch/llvm-tmp/build/lib/VMCore 
2012 Jul 31
0
[LLVMdev] rotate
Oh, no. I should have been more clear. The patch was not rejected, just
lost in the daily shuffle.
I already have my employer's approval to send this upstream, so I will
prepare a patch against trunk this morning.
> I proposed a similar patch to LLVM (left circular shift) around 10/2011.
> > Parts of my patch did make it into trunk about a year after, but others
> > did not.
2012 Jul 31
4
[LLVMdev] rotate
On Monday, July 30, 2012 12:16 AM, Cameron McInally wrote:
> Hey Andy,
>
> I proposed a similar patch to LLVM (left circular shift) around 10/2011.
> Parts of my patch did make it into trunk about a year after, but others
> did not. 
>
> At that time, my solution was to add a binary operator to the IRBuilder,
> since LCS fits in nicely with the other shift operators. But,
2012 Jul 31
3
[LLVMdev] rotate
..."Shifts only work with integral types!", &B);
Index: lib/VMCore/Constants.cpp
===================================================================
--- lib/VMCore/Constants.cpp	(revision 161045)
+++ lib/VMCore/Constants.cpp	(working copy)
@@ -2002,6 +2002,10 @@
              isExact ? PossiblyExactOperator::IsExact : 0);
 }
 
+Constant *ConstantExpr::getCShl(Constant *C1, Constant *C2) {
+  return get(Instruction::CShl, C1, C2);
+}
+
 Constant *ConstantExpr::getAShr(Constant *C1, Constant *C2, bool isExact) {
   return get(Instruction::AShr, C1, C2,
              isExact ? PossiblyExactOperator::IsEx...