Displaying 20 results from an estimated 300 matches similar to: "How is target_triple/default_triple handled in tests?"
2015 Sep 08
2
Testing "normal" cross-compilers versus GPU backends
> > Mehdi - Could you list a couple of the features that show up in generic
> tests which your target doesn't support by design? After reading through
> the discussion to this point, I don't really have a feel for that.
> Additionally, do you have any sense for how common that set is across GPU
> targets?
>
> This is what I was referring to in my last email:
>
2015 Sep 08
3
Testing "normal" cross-compilers versus GPU backends
On 09/04/2015 10:25 AM, Robinson, Paul via llvm-dev wrote:
>
>> -----Original Message-----
>> From: James Y Knight [mailto:jyknight at google.com]
>> Sent: Friday, September 04, 2015 10:12 AM
>> To: Mehdi Amini; Mehdi Amini via llvm-dev
>> Cc: Robinson, Paul
>> Subject: Re: [llvm-dev] Testing "normal" cross-compilers versus GPU
>> backends
2016 Jun 30
1
Representing MIPS ABI information in the triple as ARM/X86 do for EABI/EABIHF/X32
Thanks Renato and Rafael.
> On 24 June 2016 at 06:02, Daniel Sanders <Daniel.Sanders at imgtec.com>
> wrote:
> > Hi,
> >
> > Having recently enabled IAS by default for the MIPS O32 ABI, I'm now
> trying to do the same thing for the MIPS N64 ABI. Unfortunately, it is not
> currently possible to enable IAS by default for the N64 ABI without also
> enabling
2014 Apr 10
2
[LLVMdev] CMake configuration: Detecting zlib.h header in windows.
Hi,
I have having hard time to let cmake configuration detect the zlib
header in windows with "Visual Studio 12" generator. My cmake
configuration goes like
>> Set path, include and lib environment variables to point to zlib
headers and libraries. Cmake version is 2.8.12.2
cmake -G "Visual Studio 12" -D LLVM_TARGETS_TO_BUILD:STRING=%TARG% -D
2013 Jun 21
1
[LLVMdev] Patch for the fact that all llvm python scripts are python 2.x compatible.
720beaedce6f19c81156fe20168f85989a8db53d
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb70f15..e327427 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -249,7 +249,7 @@ set(LLVM_DEFAULT_TARGET_TRIPLE
"${LLVM_HOST_TRIPLE}" CACHE STRING
set(TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}")
2009 Mar 10
1
[LLVMdev] inconsistent use of LLVMGCCDIR?
The utils/NewNightlyTest.pl script seems to use LLVMGCCDIR in a way
that is inconsistent with the top-level configure script. I would
like to fix this but I don't want to break everyone's nightly tests.
Can someone review the attached patch to make sure I'm not missing
something?
The NewNightlyTest.pl script checks the LLVMGCCDIR environment
variable and uses it for two
2015 Dec 17
2
llvm-3.6 MCAsmParser x64 Error "invalid operand for instruction" when msb set
Hello,
I am experiencing problems, when trying to assemble these two x86-64 Opcodes
"add r64, imm32"
"imul r64, r64, imm32"
When having the most significant bit set for imm32, for example:
"add rax, 0x80000000", "add rax, 0xffffffff", ...
"imul rbx, rsi, 0x80000000", "imul rbx, rsi, 0xffffffff", ...
The Error Message I receive is the
2016 Jun 29
0
Representing MIPS ABI information in the triple as ARM/X86 do for EABI/EABIHF/X32
On 24 June 2016 at 06:02, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote:
> Hi,
>
> Having recently enabled IAS by default for the MIPS O32 ABI, I'm now trying to do the same thing for the MIPS N64 ABI. Unfortunately, it is not currently possible to enable IAS by default for the N64 ABI without also enabling it for the N32 ABI because this information is not reflected in
2018 May 10
2
Assembly file compilation flow
Hello,
LLVM MC blog post
<http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html> explains
fairly well how the backend MC project is working. However, it's not clear
to me how LLVM converts an assembly file (.s) to an object file. The driver
--verbose option is not giving me much information as well. I want to know
the flow. Like, What CodeGen phases does this file pass through? Is
2018 May 10
0
Assembly file compilation flow
Passing an assembly file to clang does not go through any CodeGen phases.
It operates entirely in the MC layer. No MachineFunctions will be created.
It just runs it through the MCAsmParser. Most of the setup for this is in
clang's tools/driver/cc1as_main.cpp in the function ExecuteAssembler
~Craig
On Thu, May 10, 2018 at 1:32 PM Soham Sinha via llvm-dev <
llvm-dev at lists.llvm.org>
2016 Jul 05
2
Representing MIPS ABI information in the triple as ARM/X86 do for EABI/EABIHF/X32
Hi Eric,
It's the unsolved problems on the pass-MCTargetOptions-everywhere path that are my main concern with that approach rather than the amount of work. The first problem is that the result of IRObjectFile::CollectAsmUndefinedRefs() depends on the ABI but IRObjectFile doesn't know it. How would you deliver the ABI to IRObjectFile? The second problem is that IRLinker will link
2015 Apr 14
7
[LLVMdev] RFC building a target MCAsmParser
Hi everyone. We're interested in contributing a Hexagon assembler to MC and
we're looking for comments on a good way to integrate the grammar in to the
infrastructure.
We rely on having a robust assembler because we have a large base of
developers that write in assembly due to low power requirements for mobile
devices. We put in some C-like concepts to make the syntax easier and this
2010 Nov 23
2
[LLVMdev] LLVM unit and regression tests, enabled targets and conditions
Hello everyone,
I'm wrestling with the LLVM unit and regression tests now and would
like to discuss some changes to make.
I will be preparing patches, but any input/ideas are welcome.
I leave "where the tests should run" question out for the scope yet.
Let's review what kind of tests we have and how to handle them
correctly.
We have 3 types of unit and regression tests:
1.)
2009 Dec 02
0
[LLVMdev] Running CodeGen/Generic tests on different targets
Is there a simple way to override the target triple used in when running
the generic codegen tests? I would expect that passing a value for
TARGET_TRIPLE to make, as below, would do it but none of the tests
appear to use the target_triplet variable generated in site.exp.
> make TESTSUITE=CodeGen/Generic TARGET_TRIPLE=msp430-none-none check
-Ken
2016 Jun 24
7
Representing MIPS ABI information in the triple as ARM/X86 do for EABI/EABIHF/X32
Hi,
Having recently enabled IAS by default for the MIPS O32 ABI, I'm now trying to do the same thing for the MIPS N64 ABI. Unfortunately, it is not currently possible to enable IAS by default for the N64 ABI without also enabling it for the N32 ABI because this information is not reflected in the triple and that's the only information MipsMCAsmInfo has. This would be fine if it N32 was
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler.
Regards,
Richard Gorton
Cognitive Electronics
rcgorton at cog-e.com
----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name:
2016 Dec 15
3
[FileCheck] Fix --strict-whitespace --match-full-lines
On 14/12/16 18:48, Robinson, Paul wrote:
> Please send patches to llvm-commits not llvm-dev.
>
> Writing FileCheck tests has pitfalls. A test along these lines:
>
> bla0
> CHECK:bla1
>
> will actually pass, because the CHECK pattern is also part of the input
> so it will readily match itself. You want the CHECK lines not to match
> themselves, which you can easily do
2018 May 10
1
Assembly file compilation flow
I think a key point to understand is the MCStreamer interface, which has two implementations: one for object-file generation, and one for .s file generation. CodeGen/AsmPrinter can attach to either of these implementations. MCAsmParser will generally attach to the object-file version of MCStreamer.
--paulr
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Craig Topper via
2015 Aug 22
2
[lldb-dev] [3.7 Release] RC3 has been tagged, let's wrap this up
Still no complete go, doing the tests on i386 failed with some weird sed error:
[...]
Making Unit/lit.site.cfg for Clang extra tools...
sed: lit.tmp: No such file or directory
Makefile:61: recipe for target 'Unit/lit.site.cfg' failed
gmake[2]: *** [Unit/lit.site.cfg] Error 1
Strangely enough, this does not happen on amd64. Maybe it is some sort of race condition? Did anybody see this
2015 Aug 20
2
Problem Compiling AsmParser
Hi all,
I am trying to compile with a minimal TestAsmParser class, but I get the
following error.
----------------
[43/780] Linking CXX executable bin/llvm-mc
FAILED: : && /usr/bin/c++ -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wno-comment -std=c++11