Displaying 20 results from an estimated 500 matches similar to: "Induction variable identification?"
2016 Aug 12
2
Why does new llvm-as reject old IR format?
Surprised to know that backward compatibility is not honored across the
tools.
(i.e. you can read old .bc but NOT old .ll files)
Supporting latter is more useful, IMO, because then I wouldn't have to
modify all my sources.
And who are "we" here?
On Fri, Aug 12, 2016 at 7:21 PM, Tim Northover <t.p.northover at gmail.com>
wrote:
> On 12 August 2016 at 06:42, Madhur
2016 Aug 19
2
How do I dump numerical representation of textual LLVM IR?
Hi,
For my input file I think that llvm-as is encoding an instruction
incorrectly.
Is there any way to dump the numerical representation of input textual LLVM
IR on terminal?
"-f" option to llvm-as did not help.
--
*Disclaimer: Views, concerns, thoughts, questions, ideas expressed in this
mail are of my own and my employer has no take in it. *
Thank You.
Madhur D. Amilkanthwar
2020 Aug 05
2
TableGen trace facility
Well, I was hinting at LLVM_DEBUG messages. You can pretty much dump all
"actions" Tablegen would take to process a .td file, which should suffice,
IMO.
On Wed, Aug 5, 2020 at 5:59 PM Paul C. Anagnostopoulos <paul at windfall.com>
wrote:
> Your reply suggests that there is a way to see debug messages from
> TableGen. Is that what you meant? If so, can you explain how that
2020 Aug 08
2
My first real submission with Phabricator
Madhur Amilkanthwar via llvm-dev <llvm-dev at lists.llvm.org>於 2020年8月9日
週日,上午1:53寫道:
> Hi Paul,
> I hope you have gone through
> https://llvm.org/docs/Contributing.html#how-to-submit-a-patch.
>
> Generally, I would do 'git add' on the new file. 'git diff' should show me
> the newly added file. Further, I'd just do 'arc diff' and this should
2017 Jul 06
3
LLVM's loop strength reduction module
Hi Raghavan,
I concur no specific docs.
What do you want to know specifically?
Cheers,
-Quentin
> On Jul 5, 2017, at 11:16 PM, Madhur Amilkanthwar via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> AFAIK, no official doc.
> You can probably get better help if you ask specific questions (which part of the code you don't understand).
>
> On Thu, Jul 6, 2017 at 9:53
2018 Dec 11
2
Automatic GPU Code Generation
Thank You..
I am asking to generate directly PTX code automatically or by directives
without involvement of CUDA. This way, I am talking about avoiding source
to source compiler approach where c code is converted automatically into
CUDA, instead I am saying directly to convert C code to PTX assembly.
On Tue, Dec 11, 2018 at 12:19 PM Madhur Amilkanthwar <madhur13490 at gmail.com>
wrote:
2016 Aug 12
2
Why does new llvm-as reject old IR format?
Hi all,
I have the below input
define i32 @myCas(i32* %ptr, i32 %cmp, i32 %val) #0 {
entry:
%0 = cmpxchg volatile i32* %ptr, i32 %cmp, i32 %val seq_cst
%1 = extractvalue { i32, i1 } %0, 0
ret i32 %1
}
When I provide this input file to llvm-as 3.6 I get the error
a.ll: error: Expected ordering on atomic instruction
%1 = extractvalue { i32, i1 } %0, 0
This is because instruction syntax
2020 Aug 08
3
My first real submission with Phabricator
I am ready to submit my first real submission for review with Phabricator. Please forgive my meager knowledge of Git. I did a 'git diff' to generate the diff file. The contents look good. However, there is one new file, a TableGen test file. How do I get that file included in the diff, or otherwise included in the submission?
2017 Jul 31
1
LLVM's loop strength reduction module
Hi,
Sorry I took a long time to reply as it took me some time to get some understanding of the code even to ask some specific questions (I have a test case in which LSR does not kick in and wanted to understand the code to figure out why it was not kicking in).
Here are some specific questions I have:
1) It appears that LSR works only for the inner-most loop. Is this correct? Can you tell
2020 Oct 13
5
Manipulating DAGs in TableGen
On Tue, Oct 13, 2020 at 10:47 AM Madhur Amilkanthwar
<madhur13490 at gmail.com> wrote:
> What do you guys think about the below enhancements?
>
> 5. !getdagrestype(dag [, index]) - Returns type of result value. If the DAG computes multiple values then return type of 'index'th result.
>
> 6. !setdagrestype(dag target_dag, type T [, index]) - Set return type of
2017 Jul 06
2
LLVM's loop strength reduction module
Hi,
My name is Venugopal Raghavan and I work in AMD. I was trying to understand the code in the file LoopStrengthReduce.cpp but I am making very slow progress.
Is there any additional documentation available that would help me understand the code, like a PPT presentation or a design document or maybe a paper? I did not find anything on the Internet.
There are comments interspersed in the code
2020 Jul 15
2
[Beginner] Understanding Tablegen language
Adding -debug to a -gen-dag-isel run can also print useful information
about the parsed patterns.
On Wed, Jul 15, 2020 at 10:44 AM Matt Arsenault via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
>
> > On Jul 15, 2020, at 13:33, Rotate Right via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > Is there a backend to Tablegen which can dump a map of
2017 Apr 18
3
LLVM is getting faster, April edition
> On Apr 11, 2017, at 10:25 PM, Madhur Amilkanthwar via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> I am interested in knowing more.
> 1. What benchmarks does LLVM community use for compile-time study? I see CTMark, but is that the only one being analyzed?
CTMark is not cast in stone. Its purpose is for the community to have a trackable proxy for the overall llvm test
2020 Aug 05
2
TableGen trace facility
Hi Paul,
If all you care about is debugging then for now we can just emit a few more
debug messages which would help to "trace" the flow. To distinguish traces
you can prefix it with some known string. I don't think you really need a
'trace' tag in the language spec for this.
Debugging Tablegen has always been a nightmare and I don't think we can
ever reach a stage where
2017 Nov 08
2
Debug info for Cuda
Nobody blames ptxas. I'm not saying that these are the troubles, I'm just saying that it has some features and we have some problems to be solved.
But lack of labels, label arithmetics in DWARF sections is the real problem, because LLVM actively uses it in DWARF sections
Best regards,
Alexey Bataev
8 нояб. 2017 г., в 5:35, Madhur Amilkanthwar <madhur13490 at
2020 Oct 12
3
Manipulating DAGs in TableGen
I understood that the name is a matching tag for the operand and not its name (as in named macro or function arguments). However, I was assuming that the names in any one DAG node had to be unique and so could serve as selectors for operands. But a quick investigation shows that I was wrong: names can be duplicated in the same node.
So DAG indexes are integers only.
At 10/12/2020 01:46 PM,
2020 Aug 23
2
Looking for suggestions: Inferring GPU memory accesses
@Ees,
Oh, I see what you mean now. Doing such analysis would be useful for a
thread block and not just a single thread but as you say you are onto
something bigger than just a thread.
We had published a short paper in ICS around this which uses polyhedral
techniques to do such analysis and reason about uncoalesced access patterns
in Cuda programs. You can find paper at
2018 Feb 07
6
retpoline mitigation and 6.0
I've landed the patch in r324449.
Before we merge this into two different Clang release branches and almost
immediately release one of them, I would really like someone to confirm
that this patch works well with the Linux kernel. David, if you're up for
that, it would be great. Alternatively, Guenter or someone else here can
help.
On Tue, Feb 6, 2018 at 5:59 PM Chandler Carruth
2017 Jun 14
4
[CUDA] Lost debug information when compiling CUDA code
Hi,
I needed to debug some CUDA code in my project; however, although I used -g when compiling the source code, no source-level information is available in cuda-gdb or cuda-memcheck.
Specifically, below is what I did:
1) For a CUDA file a.cu, generate IR files: clang++ -g -emit-llvm --cuda-gpu-arch=sm_35 -c a.cu;
2) Instrument the device code a-cuda-nvptx64-nvidia-cuda-sm_35.bc (generated
2020 Aug 22
5
Looking for suggestions: Inferring GPU memory accesses
Hi all,
As part of my research I want to investigate the relation between the
grid's geometry and the memory accesses of a kernel in common gpu
benchmarks (e.g Rodinia, Polybench etc). As a first step i want to
answer the following question:
- Given a kernel function with M possible memory accesses. For how many of
those M accesses we can statically infer its location given concrete values