Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Scalar Evolution not canonalizing division?"
2010 Oct 28
0
[LLVMdev] Scalar Evolution not canonalizing division?
On 27 October 2010 14:20, Tobias Grosser <grosser at fim.uni-passau.de> wrote:
> Hi,
>
> I am just found a scalar evolution function that does not seem canonical to
> me.
>
> The C code I used to produce it is:
>
> long foo (long n, long m) {
> long i, j;
> long A[n][m];
>
> for (i = 0; i < n; ++i)
> for (j = 0; j < m; ++j)
>
2012 Mar 29
1
[LLVMdev] Problem recognizing nested select operations
Hello all,
I just noticed that LLVM has trouble recognizing nested simple select
operations.
My testcase is as follows:
-------------------------- snip ------------------------------
#include <stdio.h>
int main(int argc, char **argv)
{
int a;
scanf("%d", &a);
a = a > 255 ? 255 : a < 0 ? 0 : a;
printf("A: %d\n", a);
return 0;
}
2008 Oct 01
2
[LLVMdev] complex branching generation
LLVM seems to be generating way too complex of branching based on the
short-circuit optimization. The code in question is as follows:
define void @ test_fc_while_and(float %x, float %y, float addrspace(11)*
%result) nounwind {
entry:
%tobool3 = fcmp une float %x, 0.000000e+000 ; <i1>
[#uses=1]
%tobool24 = fcmp une float %y, 0.000000e+000 ;
2017 Jul 24
5
Ifelse statements and combining columns
Hi everyone,
I'm having some trouble with my ifelse statements.
I'm trying to put 12 conditions within 3 groups. Here is the code I have so
far:
dat$cond <- ifelse(test = dat$cond == "cond1" | dat$cond == "cond2" |
dat$cond == "cond3" dat$cond == "cond4"
yes = "Uniform"
no = ifelse(test =
2011 May 20
1
DocumentTermMatrix - text minig
Hi All,
I have a Data.frame that looks like that one below. I would like to do some text mining on it to possibly find some patterns between Opis, ACklasifikacija and Vodja. I looked over a tm package which loks promissing, more specifically DocumentTermMatrix or TermDocumentMatrix. But I can not figure out how to change my data from data.frame to Corpus or VCorpus.
Globina
2006 Feb 09
1
Re: Help on Vicidial
Here is another log from the * server CLI, I reall hope some one can help me
out on this one. thanks
|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and
server_ip='127.0.0.1' and
campaign_id = '' and call_time < "" and lead_id != '';|
-- VDAD get agent: |0|update of vla table: |127.0.0.1
|UPDATE vicidial_live_agents set
2008 Apr 20
0
[LLVMdev] Global variable-length array
On Apr 19, 2008, at 22:45, Talin wrote:
> Suppose I have a global variable which points to a constant,
> variable length array.
This is somewhat contradictory. Do you want an 'vla *g;' in C? If so,
your global will be of type %vla** (you'll load a pointer to the array
from the global). Its initializer would be a bitcast of a global which
has some type similar to %vla.
2019 Mar 13
2
Scalable Vector Types in IR - Next Steps?
Disclaimer: I’m only speaking for myself, not Apple.
This is really disappointing. Resorting to multi-versioned fixed length vectorization isn’t a solution that’s competitive with the native VLA support, so it doesn’t look like a credible alternative suggestion (at least not without elaborating it on the mailing list). Without a practical alternative, it’s essentially saying “no” to a whole class
2019 Mar 13
2
Scalable Vector Types in IR - Next Steps?
Agreed with both!
Furthermore, any temporary solution will have to be very similar to what we
expect to see natively, or the transition to native may never happen.
On Wed, 13 Mar 2019, 18:55 Finkel, Hal J., <hfinkel at anl.gov> wrote:
> On 3/13/19 1:45 PM, Amara Emerson via llvm-dev wrote:
> > Disclaimer: I’m only speaking for myself, not Apple.
> >
> > This is really
2018 Mar 13
2
[PATCH v2] drm/nouveau/secboot: remove VLA usage
In preparation to enabling -Wvla, remove VLA. In this particular
case directly use macro NVKM_MSGQUEUE_CMDLINE_SIZE instead of local
variable cmdline_size. Also, remove cmdline_size as it is not
actually useful anymore.
The use of stack Variable Length Arrays needs to be avoided, as they
can be a vector for stack exhaustion, which can be both a runtime bug
or a security flaw. Also, in general, as
2018 Mar 16
2
[PATCH v2] drm/nouveau/secboot: remove VLA usage
On 14 March 2018 at 21:08, Thierry Reding <thierry.reding at gmail.com> wrote:
> On Tue, Mar 13, 2018 at 11:24:11AM -0500, Gustavo A. R. Silva wrote:
>> In preparation to enabling -Wvla, remove VLA. In this particular
>> case directly use macro NVKM_MSGQUEUE_CMDLINE_SIZE instead of local
>> variable cmdline_size. Also, remove cmdline_size as it is not
>> actually
2018 May 23
2
[PATCH v2] drm/nouveau/secboot: remove VLA usage
On Thu, Apr 26, 2018 at 4:25 PM, Kees Cook <keescook at chromium.org> wrote:
> On Thu, Mar 15, 2018 at 7:05 PM, Ben Skeggs <skeggsb at gmail.com> wrote:
>> On 14 March 2018 at 21:08, Thierry Reding <thierry.reding at gmail.com> wrote:
>>> On Tue, Mar 13, 2018 at 11:24:11AM -0500, Gustavo A. R. Silva wrote:
>>>> In preparation to enabling -Wvla,
2010 Apr 01
1
[LLVMdev] Idea for Google Summer Code : C Compiler for EFI Byte Code implement in LLVM
Hello, Chris
> 2010/3/20 Chris Lattner <clattner at apple.com>
>
>
>> On Mar 19, 2010, at 2:40 PM, Louis Gerbarg wrote:
>>
>>
>>> What do you mean by "variable sized pointers"? What does:
>>>
>>> struct S {void *X; };
>>>
>>> return for sizeof(struct S); ?
>>>
>>
>> It doesn't, at
2018 Mar 13
2
[PATCH] drm/nouveau/secboot: remove VLA usage
In preparation to enabling -Wvla, remove VLA. In this particular
case directly use macro NVKM_MSGQUEUE_CMDLINE_SIZE instead of local
variable cmdline_size. Also, remove cmdline_size as it is not
actually useful anymore.
The use of stack Variable Length Arrays needs to be avoided, as they
can be a vector for stack exhaustion, which can be both a runtime bug
or a security flaw. Also, in general, as
2008 May 16
2
[LLVMdev] Matching struct layouts.
> > If this is an arbitrary struct, it can be quite tricky. Do you have
> > to worry about bitfields and variable sized fields (for example a
> > variable length array at the end)? What about unions?
>
> There are no bitfields, but it does have a variable length array at the end.
> There are no unions.
You could use llvm-gcc to convert the struct to an LLVM type.
2019 Mar 13
4
Scalable Vector Types in IR - Next Steps?
On Wed, 13 Mar 2019 at 13:57, Graham Hunter <Graham.Hunter at arm.com> wrote:
> I did ask them to post their arguments on the list, but I guess they've been busy for the last month (or forgot about it).
Who is "them" and who will write up a proposal / RFC on the use of
intrinsics for both lowering and vectorisation?
It goes without saying that those discussions should have
2006 Oct 08
1
[LLVMdev] should PEI::calculateFrameObjectOffsets align the stack?
> That is irrelevant. The PEI code needs to know how much stack space is
> required for each call to allocate and align the stack frame properly. It
> gets this info from the ADJCALLSTACK instructions.
I see. Looking at PEI::calculateCalleeSavedRegisters shows that the
ADJCALLSTACK instructions is used to set up MaxCallFrameSize. Adding
debug prints also show that in the example code
2008 May 16
0
[LLVMdev] Matching struct layouts.
On Fri, May 16, 2008 at 12:31 PM, Duncan Sands <baldrick at free.fr> wrote:
>> > If this is an arbitrary struct, it can be quite tricky. Do you have
>> > to worry about bitfields and variable sized fields (for example a
>> > variable length array at the end)? What about unions?
>>
>> There are no bitfields, but it does have a variable length array at
2019 Mar 15
4
Scalable Vector Types in IR - Next Steps?
Hi David,
> We tried two round tables at the Nov. LLVMDev and no serious objections
> were raised, but we knew we didn't have all the right people there. I
> am somewhat skeptical another roundtable without commitment to attend
> from all able parties ahead of time will accomplish much.
Agreed, but I'll try scheduling one anyway.
> Speaking for myself (and not Cray), it
2018 Jul 24
2
[PATCH] drm/nouveau/secboot/acr: fix memory leak
In case memory resources for *bl_desc* were allocated, release
them before return.
Addresses-Coverity-ID: 1472021 ("Resource leak")
Fixes: 0d466901552a ("drm/nouveau/secboot/acr: Remove VLA usage")
Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
---
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c | 1 +
1 file changed, 1 insertion(+)
diff --git