Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Target description flags for instructions which may trap"
2016 Mar 22
1
New intrinsic property IntrOnlyWrite
> On Mar 21, 2016, at 9:14 PM, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>
>> On Mar 21, 2016, at 8:58 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
>>
>> On 19.03.2016 16:25, Mehdi Amini wrote:
>>> Hi,
>>>
>>> Can you elaborate what is the impact at the IR level?
>>> If the point is just about
2016 Mar 21
3
New intrinsic property IntrOnlyWrite
On 19.03.2016 16:25, Mehdi Amini wrote:
> Hi,
>
> Can you elaborate what is the impact at the IR level?
> If the point is just about how you lower for you target, why are you needing an IR level attribute? You backend if free to specialize the lowering for any intrinsic regardless the IR level attributes.
As I explained in my reply to Philip, what I really need is a way to get
2017 Nov 29
3
PPC64 Disassembler
Hi all,
I'm working on lldb to make it available to ppc64le, but the "step over"
is not working for some cases.
When debugging, I can see that the disassembler analyze some instructions
forward, looking for a branch instruction
(llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp:87
- "const bool can_branch = mc_disasm_ptr->CanBranch(inst);"), while
2017 Nov 30
2
PPC64 Disassembler
The `isBranch` flag is already set on the branch instructions. Furthermore,
we do use the `isBranch()` query in a few places in the PPC back end, so
this does work. Perhaps there's something specific about the lldb usage? Is
it somehow possible that the `isBranch()` query is called on the wrong
instruction?
Would you be able to provide a test case that reproduces the issue?
On Thu, Nov 30,
2017 Nov 30
2
PPC64 Disassembler
> But where is the flat set? Maybe I can debug and check what is going on.
The MCInstrDesc are in a table in lib/Target/PowerPC/PPCGenInstrInfo.inc
of your build directory.
> Some additional information:
>
> MCInst opcode: 0x7cb
> Decode Index: 0x1e
I had assumed this would have dissembled to '// Inst #234 = BC' which does
have the branch flag set, but I think that
2017 Aug 18
5
RFC/bikeshedding: Separation of instruction and pattern definitions in LLVM backends
As many of you know, I have a growing series of patches for a RISC-V backend
under/awaiting review
<https://reviews.llvm.org/differential/?authors=asb&order=updated>,
<http://github.com/lowrisc/riscv-llvm>. I'll be posting a larger status update
on that work either later today or tomorrow, this RFC focuses on an issue that
came up during review which I think may benefit from
2017 Sep 19
1
Changes to 'ADJCALLSTACK*' and 'callseq_*' between LLVM v4.0 and v5.0
Hi Serge,
Thanks for your help. I have looked at the change log, and so far as I can tell, my implementation is pretty much identical to all of the in-tree targets, but I’m missing something and can’t see what it is. I have simplified my TD description to just:
def MyCallseqStart : SDNode<"ISD::CALLSEQ_START",
SDCallSeqStart<[SDTCisVT<0, i32>,
2010 Mar 10
2
[LLVMdev] Disabling emission of jump table info
Typo "responisbility", otherwise looks great to me, please apply. For ARM, please just file a bugzilla suggesting that the ARM backend adopt this. Thanks Richard!
-Chris
On Mar 9, 2010, at 6:06 AM, Richard Osborne wrote:
> On 02/03/10 00:11, Jim Grosbach wrote:
>> On Mar 1, 2010, at 4:09 PM, Richard Osborne wrote:
>>
>>> On 01/03/10 21:14, Chris Lattner
2009 Oct 20
2
[LLVMdev] No DWARF line number info with HasDotLocAndDotFile = true
It seems to me that emitting DWARF line number information using .loc
directives is currently broken. CellSPU is currently the only in tree
target that sets HasDotLocAndDotFile in its MCAsmInfo and I can't get it
to produce any line number information.
Is this a known issue? I understand that there are lots of changes going
on in this area. Any idea what it would take to fix?
--
Richard
2009 Jan 14
2
[LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
On Jan 14, 2009, at 3:14 AM, Richard Osborne wrote:
>> Evan
> OK, that make sense, I'll take a look at changing this. I've added a
> bug
> for the issue:
>
> http://llvm.org/bugs/show_bug.cgi?id=3324
>
> There is currently no Backend: XCore component in bugzilla so I've put
> it under new-bugs. Could someone add this component for me.
Added. You
2010 Mar 11
0
[LLVMdev] Disabling emission of jump table info
Thanks for reviewing this. Committed in r98255 and r98256. The bug
against the ARM backend is 6581:
http://llvm.org/bugs/show_bug.cgi?id=6581
On 10/03/10 21:45, Chris Lattner wrote:
> Typo "responisbility", otherwise looks great to me, please apply. For ARM, please just file a bugzilla suggesting that the ARM backend adopt this. Thanks Richard!
>
> -Chris
>
> On Mar
2013 Jun 28
2
[LLVMdev] Possible instruction combine bug with pointer icmp?
If I give instcombine the following IR:
define i1 @f([1 x i8]* %a, [1 x i8]* %b) {
%c = getelementptr [1 x i8]* %a, i32 0, i32 0
%d = getelementptr [1 x i8]* %b, i32 0, i32 0
%cmp = icmp ult i8* %c, %d
ret i1 %cmp
}
It optimizes it into:
define i1 @f([1 x i8]* %a, [1 x i8]* %b) {
%cmp = icmp slt [1 x i8]* %a, %b
ret i1 %cmp
}
Is this a bug, or are there some semantics of icmp
2020 Mar 11
2
XCore target
Hello all.
At XMOS we are working towards updating the upstream XCore backend for newer versions of the chip.
XCore is the XMOS processor. The XCore backend was written by Richard Osborne at XMOS. Richard has moved on. The current code owner in CODE_OWNERS.TXT, Robert Lytton, has also moved on.
For some years XMOS has developed the compiler in-house, for new versions of the chip, but not
2014 Feb 27
2
[LLVMdev] llvm-config --system-libs has newlines in output
With LLVM built from trunk I understand I should now use llvm-config
--system-libs to get the system libraries to link against when linking
against llvm (as of r197664). If run this then llvm-config outputs a
blank line before the system libraries, for example on Linux I get:
$ llvm-config --system-libs
-lz -ltinfo -lrt -ldl -lm
If I use --system-libs together with --libs the LLVM libraries
2012 Sep 06
3
[LLVMdev] Preferred alignment of globals > 16bytes
I recently noticed that all globals bigger than 16 bytes are being 16
byte aligned by LLVM (assuming there isn't an explicitly requested
alignment). I'd really rather avoid this, at least for the XCore
backend. I tracked this down to the following code in TargetData.cpp:
if (GV->hasInitializer() && GVAlignment == 0) {
if (Alignment < 16) {
// If the global
2010 Jan 20
2
[LLVMdev] [LLVMDev] Is there any way to eliminate zero-extension instruction?
Dear developers.
We try to make our own backend of llvm for our target machine.
Assume that we have the following code in our source code.
int i = ( a < b );
The code is translated into
r0 <- gt r1 r2
r3 <- and r0 0x1
We think that r3 is not necessary. Is there any way to eliminate it by just
modifying
our backend?
Thank you in advance.
Minwook Ahn
-------------- next part
2009 Jan 14
0
[LLVMdev] Possible bug in LiveIntervals (triggered on the XCore target)?
Chris Lattner wrote:
> On Jan 14, 2009, at 3:14 AM, Richard Osborne wrote:
>
>
>>> Evan
>>>
>> OK, that make sense, I'll take a look at changing this. I've added a
>> bug
>> for the issue:
>>
>> http://llvm.org/bugs/show_bug.cgi?id=3324
>>
>> There is currently no Backend: XCore component in bugzilla so
2009 Oct 20
0
[LLVMdev] No DWARF line number info with HasDotLocAndDotFile = true
Richard Osborne wrote:
> It seems to me that emitting DWARF line number information using .loc
> directives is currently broken. CellSPU is currently the only in tree
> target that sets HasDotLocAndDotFile in its MCAsmInfo and I can't get it
> to produce any line number information.
>
I think I understand why this is happening. Since HasDotLocAndDotFile is
set the
2008 Oct 14
2
[LLVMdev] XMOS using LLVM
Hi,
I'm a compiler engineer at XMOS (http://www.xmos.com) and in the last
few months I've been working on porting LLVM to target our XS1-G4 chip.
I thought it may be of interest to the list to find out how we are using
of LLVM.
The XS1-G4 has four processors and 32 hardware threads. It has been
designed to be highly responsive to I/O events allowing many tasks
normally be done by
2013 Jun 28
0
[LLVMdev] Possible instruction combine bug with pointer icmp?
On Fri, Jun 28, 2013 at 6:13 AM, Richard Osborne <richard at xmos.com> wrote:
> If I give instcombine the following IR:
>
> define i1 @f([1 x i8]* %a, [1 x i8]* %b) {
> %c = getelementptr [1 x i8]* %a, i32 0, i32 0
> %d = getelementptr [1 x i8]* %b, i32 0, i32 0
> %cmp = icmp ult i8* %c, %d
> ret i1 %cmp
> }
>
> It optimizes it into:
>
> define i1