Displaying 4 results from an estimated 4 matches for "66848".
Did you mean:
66648
2009 Mar 14
2
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
...nt for some mysterious reason), but I do have a work-around: go
> into include/llvm/Transforms/Utils/InlineCost.h and make the following
> change:
>
>
> Index: InlineCost.h
> ===================================================================
> --- InlineCost.h (revision 66848)
> +++ InlineCost.h (working copy)
> @@ -37,8 +37,13 @@
> Never
> };
>
> +#if 0
> int Cost : 30;
> unsigned Type : 2;
> +#else
> + int Cost;
> + unsigned Type : 2;
> +#endif
>
> InlineCost(int C, int T) : Cost(C), Type(T...
2009 Mar 13
0
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
...et (had some problems with
bugpoint for some mysterious reason), but I do have a work-around: go
into include/llvm/Transforms/Utils/InlineCost.h and make the following
change:
Index: InlineCost.h
===================================================================
--- InlineCost.h (revision 66848)
+++ InlineCost.h (working copy)
@@ -37,8 +37,13 @@
Never
};
+#if 0
int Cost : 30;
unsigned Type : 2;
+#else
+ int Cost;
+ unsigned Type : 2;
+#endif
InlineCost(int C, int T) : Cost(C), Type(T) {
assert(Cost == C && "Cost exceeds Inlin...
2009 Mar 13
2
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
On Fri, Mar 13, 2009 at 2:38 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi, the versions of llvm-gcc and llvm you are using are
> not synchronized. Probably one is from subversion while
> the other is not.
>
> Ciao,
>
> Duncan.
>
Ok, I 'synchronized' both of them, but now I am getting a different
error. On running make, the output ends with the
2009 Mar 14
0
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
...right
thing is to make sure the computation saturates at 30 bits instead of
overflowing. Am I going to talk myself into overloading operator+ ?
>> Index: InlineCost.h
>> ===================================================================
>> --- InlineCost.h (revision 66848)
>> +++ InlineCost.h (working copy)
>> @@ -37,8 +37,13 @@
>> Never
>> };
>>
>> +#if 0
>> int Cost : 30;
>> unsigned Type : 2;
>> +#else
>> + int Cost;
>> + unsigned Type : 2;
>> +#endif
>>
>...