Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] -debug tracing for fast isel"
2015 Nov 17
2
Mips unconditionally uses fast-isel?
> > > > I was mucking around in FastISel, and was surprised to see the test
> > > > llvm/test/CodeGen/Mips/emergency-spill-slot-near-fp.ll
> > > > failed. This was surprising because it specifies -fast-isel=false.
> > > >
> > > > Does the Mips code generator use fast-isel even when you ask it not
> to?
> > > > Thanks,
2015 Nov 17
2
Mips unconditionally uses fast-isel?
> > I was mucking around in FastISel, and was surprised to see the test
> > llvm/test/CodeGen/Mips/emergency-spill-slot-near-fp.ll
> > failed. This was surprising because it specifies -fast-isel=false.
> >
> > Does the Mips code generator use fast-isel even when you ask it not to?
> > Thanks,
> > --paulr
>
> This seems to be an all-targets bug.
2015 Nov 16
2
Mips unconditionally uses fast-isel?
I was mucking around in FastISel, and was surprised to see the test
llvm/test/CodeGen/Mips/emergency-spill-slot-near-fp.ll
failed. This was surprising because it specifies -fast-isel=false.
Does the Mips code generator use fast-isel even when you ask it not to?
Thanks,
--paulr
2014 Aug 31
2
[LLVMdev] lowering and non legal types in fast-isel
I understand that but falling back makes the compilation slower.
I'm wondering what could be done to remove this restriction about fast-isel not being able to
handle non legal types.
________________________________________
From: Anton Korobeynikov [anton at korobeynikov.info]
Sent: Sunday, August 31, 2014 12:55 AM
To: Reed Kotler
Cc: LLVMdev at cs.uiuc.edu
Subject: Re: [LLVMdev] lowering
2015 Jan 20
3
[LLVMdev] strlen in fast-isel
It seems that fast-isel for intel does not handle strlen. It's a general
problem in fast-isel .
~/llvmw/build/Deb~/llvmw/build/Debug+Asserts/bin/clang -O0 -mllvm
-fast-isel-verbose -mllvm -fast-isel strlen1.c
strlen1.c:12:3: warning: implicitly declaring library function 'printf' with
type 'int (const char *, ...)'
printf("%i\n", len);
^
2015 Nov 18
2
Mips unconditionally uses fast-isel?
The driving goal of 'optnone' is to have an easy way for programmers to get an "-O0 like" debugging experience for selected functions, without making them build everything with –O0.
To that end, we turn off as much optimization as we reasonably can, but in the context of a pipeline that is generally expecting optimizations to be enabled, in practice we can't exactly match –O0
2015 Nov 17
3
Mips unconditionally uses fast-isel?
> > The other thing that might work, is having TargetMachine remember how
> > the fast-isel option got set, and make OptLevelChanger do the right
> > thing. But that seems like a hack to work around Mips not obeying the
> > specified optimization level, honestly.
>
> I think we should do that as well. I don't think it's right that optnone
> enables Fast
2012 Feb 17
0
[LLVMdev] ARM/Thumb2/ISEL Need help tracing down a failing match: (HOW?)
Hi, after perusing through llc -debug output and stepping through the
ARMGenDAGIsel.inc in the debugger, I would greatly like some help in
tracking down a failing match to a pattern I specified:
First, here is a snippet of a successful match (done in ARM mode)
ISEL: Starting pattern match on root node: 0x1e7adf0: i32,ch = load
0x1e4c030, 0x1e78210, 0x1e78310<LD4[ConstantPool]> [ID=10]
2014 Aug 30
2
[LLVMdev] lowering and non legal types in fast-isel
Fast-isel is not equipped in general to deal with non legal types.
It would seem that an llvm assembler pass run after clang but before
llvm could do the lowering though.
Any thoughts?
Reed
2015 Nov 18
4
Mips unconditionally uses fast-isel?
Well, 'optnone' is already not identical to -O0, and given the nature of things, probably can't be; but I am persuaded that it's reasonable for it to honor the -fast-isel option as a debugging tactic. I'll take an AI to make this happen.
Thanks,
--paulr
P.S. One nit, the "O0 + optnone" case should not have an asterisk, the FastISel flag is not manipulated if the opt
2014 Apr 24
3
[LLVMdev] tablegen for fast isel
What is the purpose of tablegen created files for fast-isel?
If I make the following change to Makefile in lib/Target/Mips
BUILT_SOURCES = MipsGenRegisterInfo.inc MipsGenInstrInfo.inc \
MipsGenAsmWriter.inc MipsGenCodeEmitter.inc \
MipsGenDAGISel.inc MipsGenCallingConv.inc \
- MipsGenSubtargetInfo.inc MipsGenMCCodeEmitter.inc \
+
2013 Apr 17
1
[LLVMdev] Why does x86 fast-isel reject unaligned stores?
In X86FastISel::X86SelectStore(), improperly aligned stores are rejected
and handled by the DAG-based ISel. However, X86FastISel::X86SelectLoad()
makes no such requirement. Is there a reason for this alignment
restriction on stores? Would it be reasonable to remove it?
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Mar 17
0
[LLVMdev] Long-Term ISel Design
On Mar 16, 2011, at 1:44 PM, David Greene wrote:
> All,
>
> As I've done more integrating of AVX work upstream and more tuning here,
> I've run across several things which are clunky in the current isel
> design. A couple examples I can remember offhand:
>
> 1. We have special target-specific operators for certain shuffles in X86,
> such as X86unpckl. I
2020 Nov 18
3
Work on DAG Isel for TableGen and compiler
I have been working on improvements to TableGen's DAG Isel matcher backend. This has led me to thinking about ways to speed up the compile-time interpreter of the instruction selection matcher table.
Is this worth my time, given Fast Isel and the upcoming Global Isel selector?
2011 Mar 16
3
[LLVMdev] Long-Term ISel Design
All,
As I've done more integrating of AVX work upstream and more tuning here,
I've run across several things which are clunky in the current isel
design. A couple examples I can remember offhand:
1. We have special target-specific operators for certain shuffles in X86,
such as X86unpckl. I don't completely understand why but Bruno
indicated it was to address inefficiecies.
2020 Nov 18
2
Work on DAG Isel for TableGen and compiler
Given that I'm only somewhat up-to-speed on the DAG ISel scheme and not much at all on the Global ISel scheme, I'm tempted to work on the former and then the latter. So I'll look at the CodeGenDAGPatterns messages first. Then I will take a look at Global ISel.
Matt: Can you suggest one or two things about Global ISel that could use some work? I won't get to it quickly, but it will
2020 Nov 18
2
Work on DAG Isel for TableGen and compiler
Are you talking about the type checking done in CodeGenDAGPatterns.cpp? Is it easy to post an example?
At 11/18/2020 01:55 PM, Thomas Lively wrote:
>Hi Paul,
>
>I think this would be time well spent. At least in the WebAssembly backend, the vast majority of our ISel work is still done with DAG ISel. I know this is different from the performance work you have in mind, but one of my
2011 Mar 17
2
[LLVMdev] Long-Term ISel Design
Chris Lattner <clattner at apple.com> writes:
>> 1. We have special target-specific operators for certain shuffles in X86,
>> such as X86unpckl.
> It also eliminates a lot of fragility. Before doing this, X86
> legalize would have to be very careful to specifically form shuffles
> that it knew isel would turn into (e.g.) unpck operations. Now
> instead of
2016 Jan 22
2
[GlobalISel][RFC] Contract between LLVM IR and the backends for ISel
> On Jan 22, 2016, at 3:17 PM, Matthias Braun <matze at braunis.de> wrote:
>
>
>> On Jan 22, 2016, at 2:36 PM, Quentin Colombet via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Hi,
>>
>> I would like your opinions on the contract we have between the LLVM IR and the backends.
>>
>>
>> * Context *
>>
>>
2009 Jun 21
4
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
Hi All,
I'm working on various cleanups and simplifications to the
asmprinters. One thing that is driving me nuts is that the
asmprinters currently "reverse engineer" a lot of information when
printing an operand that isel had when it created it.
I'm specifically talking about all the suffixes generated by isel,
like $non_lazy_ptr, @TLSGD, @NTPOFF, (%rip) etc. These