- Jun 28, 2014
-
-
Chad Rosier authored
llvm-svn: 211960
-
Justin Bogner authored
Make llvm-cov compatible with gcov for cases where multiple files are specified on the command line. That is, loop over each one and report coverage, and report errors on stderr only rather than via return code. llvm-svn: 211959
-
Lang Hames authored
Hopefully this will unbreak the windows bots. llvm-svn: 211958
-
Johannes Doerfert authored
Iterate over all store memory accesses and check for valid binary reduction candidate loads by following the operands of the stored value. For each candidate pair we check if they have the same base address and there are no other accesses which may overlap with them. This ensures that no intermediate value can escape into other memory locations or is overwritten at some point. + 17 test cases for reduction detection and reduction dependency modeling llvm-svn: 211957
-
Lang Hames authored
This patch adds a "-verify" mode to the llvm-rtdyld utility. In verify mode, llvm-rtdyld will test supplied expressions against the linked program images that it creates in memory. This scheme can be used to verify the correctness of the relocation logic applied by RuntimeDyld. The expressions to test will be read out of files passed via the -check option (there may be more than one of these). Expressions to check are extracted from lines of the form: # rtdyld-check: <expression> This system is designed to fit the llvm-lit regression test workflow. It is format and target agnostic, and supports verification of images linked for remote targets. The expression language is defined in llvm/include/llvm/RuntimeDyldChecker.h . Examples can be found in test/ExecutionEngine/RuntimeDyld. llvm-svn: 211956
-
Chandler Carruth authored
lowering. For maximum irony, I had already discovered this bug, diagnosed it, and left FIXMEs about it in the test cases. =[ I just failed to go back over those until after i had reduced a bootstrap miscompile down to a single TU, stared at the assembly for an hour, and figured out the bug. Again. Oh well. llvm-svn: 211955
-
Todd Fiala authored
Removed the distribution EXEs from FreeBSD and Ubuntu. Added a hello-world .cpp file, and compiled it for several platform/compiler variants: Ubuntu 14.04 x86_64, clang 3.5 (the ubuntu1 3.5 pre variant) Ubuntu 14.04 x86_64, gcc 4.8.2 FreeBSD 10.0 x86_64, clang 3.3 FreeBSD 10.0 x86_64, gcc 4.7.3 NetBSD 6.1 x86_64, gcc 4.5.3 I also added the NetBSD expected architecture and triple. Note I have NetBSD not appending the version info to the OS name, in contrast to FreeBSD. llvm-svn: 211954
-
Aaron Ballman authored
llvm-svn: 211953
-
Justin Holewinski authored
llvm-svn: 211952
-
Nick Kledzik authored
llvm-svn: 211951
-
Aaron Ballman authored
Adding some trailing whitespace after a comment previously ending with \ to ensure that it isn't lexed as a multiline comment. This silences some -Wcomment warnings. llvm-svn: 211950
-
David Majnemer authored
llvm-svn: 211949
-
Justin Holewinski authored
Also clean up some of the logic in NVVMReflect.cpp while we're messing around in there. llvm-svn: 211948
-
Justin Holewinski authored
[NVPTX] Handle all possible vector types in getSetCCResultType, not just the ones representable as MVTs llvm-svn: 211947
-
Justin Holewinski authored
llvm-svn: 211946
-
Justin Holewinski authored
llvm-svn: 211945
-
Justin Holewinski authored
llvm-svn: 211944
-
Justin Holewinski authored
[NVPTX] Error out if initializer is given for variable in an address space that does not support initialization llvm-svn: 211943
-
Justin Holewinski authored
llvm-svn: 211942
-
Justin Holewinski authored
llvm-svn: 211941
-
Justin Holewinski authored
llvm-svn: 211940
-
Justin Holewinski authored
The address space of the pointer must be global (1) for these intrinsics. There must also be alignment metadata attached to the intrinsic calls, e.g. %val = tail call i32 @llvm.nvvm.ldu.i.global.i32.p1i32(i32 addrspace(1)* %ptr), !align !0 !0 = metadata !{i32 4} llvm-svn: 211939 -
Justin Holewinski authored
llvm-svn: 211938
-
Justin Holewinski authored
llvm-svn: 211937
-
Justin Holewinski authored
llvm-svn: 211936
-
Justin Holewinski authored
This also introduces DAGCombiner patterns for mul.wide to multiply two smaller integers and produce a larger integer llvm-svn: 211935
-
Justin Holewinski authored
llvm-svn: 211934
-
Justin Holewinski authored
llvm-svn: 211933
-
Justin Holewinski authored
llvm-svn: 211932
-
Justin Holewinski authored
llvm-svn: 211931
-
Justin Holewinski authored
llvm-svn: 211930
-
Justin Holewinski authored
Default PTX version is set to PTX 3.2 llvm-svn: 211929
-
Justin Holewinski authored
llvm-svn: 211928
-
Justin Holewinski authored
NVPTX is a bit special in the optimizations it requires, so this gives us better control over the backend optimization pipeline. llvm-svn: 211927
-
Justin Holewinski authored
llvm-svn: 211926
-
Justin Holewinski authored
llvm-svn: 211925
-
Tyler Nowicki authored
llvm-svn: 211924
-
Aaron Ballman authored
llvm-svn: 211923
-
Chandler Carruth authored
a bootstrap. I managed to mis-remember how PACKUS worked on x86, and was using undef for the high bytes instead of zero. The fix is fairly obvious. llvm-svn: 211922
-
Nick Kledzik authored
This is first step in reworking how mach-o relocations are processed. The existing KindHandler is going to become a delgate/helper object for processing architecture specific references. The KindHandler knows how to convert mach-o relocations into References and back, as well, as fixing up the content the relocation is on. One of the messy things about mach-o relocations is that they sometime come in pairs, but the pairs still convert to one lld::Reference. So, the conversion has to detect pairs (arch specific) and change the stride. llvm-svn: 211921
-