- Jan 21, 2015
-
-
Tom Stellard authored
This allows us to re-use the same register for the scratch offset when accessing large private arrays. llvm-svn: 226585
-
Tom Stellard authored
We don't have a good way of legalizing this if the frame index offset is more than the 12-bits, which is size of MUBUF's offset field, so now we store the frame index in the vaddr field. llvm-svn: 226584
-
Tom Stellard authored
Now that we have our own custom register operand types, we need to handle them in the verifiier. llvm-svn: 226583
-
Aaron Ballman authored
llvm-svn: 226581
-
Rafael Espindola authored
This fixes running a few tests (including test/elf/Mips/e-flags-merge-1.test) under asan. llvm-svn: 226580
-
Duncan P. N. Exon Smith authored
This reverts commit r226571. GCC really doesn't like it [1]. [1]: http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/20260 llvm-svn: 226579
-
Fariborz Jahanian authored
property-dot syntax on 'super' with no super class. Patch by Jason Haslam. llvm-svn: 226578
-
Jozef Kolek authored
Implement microMIPS 16-bit unconditional branch instruction B. Implemented 16-bit microMIPS unconditional instruction has real name B16, and B is an alias which expands to either B16 or BEQ according to the rules: b 256 --> b16 256 # R_MICROMIPS_PC10_S1 b 12256 --> beq $zero, $zero, 12256 # R_MICROMIPS_PC16_S1 b label --> beq $zero, $zero, label # R_MICROMIPS_PC16_S1 Differential Revision: http://reviews.llvm.org/D3514 llvm-svn: 226577
-
Eric Fiselier authored
llvm-svn: 226576
-
Eric Fiselier authored
This patch addresses some comments on http://reviews.llvm.org/D7019. - Move compiler.py to test/libcxx from test/libcxx/test. - Make CXXCompiler.target None by default. - Use `{}` instead of `dict()` to initialize an empty dict. - Pass the -fsanitize options to both the compile and link commands. llvm-svn: 226575
-
Kai Nacke authored
No functional change. Reviewed by D. Sanders llvm-svn: 226574
-
Kai Nacke authored
This commits adds the octeon branch instructions bbit0/bbit032/bbit1/bbit132. It also includes patterns for instruction selection and test cases. Reviewed by D. Sanders llvm-svn: 226573
-
Will Newton authored
sh_addralign of zero is equivalent to sh_addralign of one, meaning no alignment specified. Avoid calculating Log2 or modulus when sh_addralign is zero as the results will not be useful. llvm-svn: 226572
-
Duncan P. N. Exon Smith authored
llvm-svn: 226571
-
- Jan 20, 2015
-
-
Duncan P. N. Exon Smith authored
Use `unsigned` instead of `StorageType` for the bitfield to prevent MSVC from treating the top bit of the bitfield as a sign bit. llvm-svn: 226570
-
Evgeniy Stepanov authored
The new code does not create new basic blocks in the case when shadow is a compile-time constant; it generates either an unconditional __msan_warning call or nothing instead. llvm-svn: 226569
-
Ed Maste authored
From: Ilia K <ki.stfu@gmail.com> Differential Revision: http://reviews.llvm.org/D7066 llvm-svn: 226568
-
Petar Jovanovic authored
Use synci implementation of clear_cache for short address ranges. For long address ranges, make a kernel call. Differential Revision: http://reviews.llvm.org/D6661 llvm-svn: 226567
-
Evgeniy Stepanov authored
This change removes some debug output in asan_flags.cc that was reading the verbosity level before all the flags were parsed. llvm-svn: 226566
-
Mohit K. Bhakkad authored
Reviewers: kcc, samsonov, petarj, eugenis Differential Revision: http://reviews.llvm.org/D6146 llvm-svn: 226565
-
Daniel Jasper authored
Before: const char *x = "hello llvm"; After: const char *x = "hello llvm"; This fixes llvm.org/PR22245. Patch by Bill Meltsner, thank you! llvm-svn: 226564 -
Evgeniy Stepanov authored
llvm-svn: 226563
-
Craig Topper authored
llvm-svn: 226562
-
Alexander Kornienko authored
The test was fixed after a discussion with the revision author: the check pattern was made more flexible as the "%call" part is not what we actually want to check strictly there. The original patch description: === Introduce SPIR calling conventions. This implements Section 3.7 from the SPIR 1.2 spec: SPIR kernels should use "spir_kernel" calling convention. Non-kernel functions use "spir_func" calling convention. All other calling conventions are disallowed. The patch works only for OpenCL source. Any other uses will need to ensure that kernels are assigned the spir_kernel calling convention correctly. === llvm-svn: 226561 -
Chandler Carruth authored
pass and a LoopPrinterPass with the expected associated wiring. I've added a RUN line to the only test case (!!!) we have that actually prints loops. Everything seems to be working. This is somewhat exciting as this is the first analysis using another analysis to go in for the new pass manager. =D I also believe it is the last analysis necessary for porting instcombine, but of course I may yet discover more. llvm-svn: 226560
-
Chandler Carruth authored
be used as results in the new pass manager. llvm-svn: 226559
-
Alexander Kornienko authored
Here's the fail log from our internal setup: === .../tools/clang/clang -cc1 -internal-isystem .../tools/clang/staging/include -nostdsysteminc .../tools/clang/test/CodeGenOpenCL/spir-calling-conv.cl -triple spir-unknown-unknown -emit-llvm -o - FileCheck .../tools/clang/test/CodeGenOpenCL/spir-calling-conv.cl .../tools/clang/test/CodeGenOpenCL/spir-calling-conv.cl:11:12: error: expected string not found in input // CHECK: %call = tail call spir_func i32 @get_dummy_id(i32 0) ^ <stdin>:6:52: note: scanning from here define spir_kernel void @foo(i32 addrspace(1)* %A) #0 { ^ <stdin>:7:2: note: possible intended match here %1 = tail call spir_func i32 @get_dummy_id(i32 0) #2 ^ === Here's a failure on a public CI server: http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_check/1183/ llvm-svn: 226558 -
Will Newton authored
At the moment errors in relocation processing such as out of range values are not detected or at best trapped by asserts which will not be present in release builds. This patch adds support for checking error return values from applyRelocation() calls and printing an appropriate error message. It also adds support for printing multiple errors rather than just the first one. llvm-svn: 226557
-
Chandler Carruth authored
I noticed when adding move semantics to LoopInfo. Hopefully not relevant, but still scary. =] llvm-svn: 226556
-
Chandler Carruth authored
No functionality changed. llvm-svn: 226555
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D7052 llvm-svn: 226554
-
Alexander Kornienko authored
Returning by reference limits possible implementations and doesn't bring any benefits as all callers make copies of the returned value anyway. llvm-svn: 226553
-
Pavel Labath authored
llvm-svn: 226552
-
Daniel Jasper authored
This is in preparation for a fix to llvm.org/PR22262. One of the ideas here is to first find a good jump table range first and then split before and after it. Thereby, we don't need to use the split-based-on-density heuristic at all, which can make the "binary tree" deteriorate in various cases. Also some minor cleanups. No functional changes. llvm-svn: 226551
-
Chandler Carruth authored
along with the other analyses. The most obvious reason why is because eventually I need to separate out the pass layer from the rest of the instcombiner. However, it is also probably a compile time win as every query through the pass manager layer is pretty slow these days. llvm-svn: 226550
-
Alexey Bataev authored
This patch allows to use predetermined shared variables in private clauses in parallel or tasks regions. llvm-svn: 226549
-
Sameer Sahasrabuddhe authored
This implements Section 3.7 from the SPIR 1.2 spec: SPIR kernels should use "spir_kernel" calling convention. Non-kernel functions use "spir_func" calling convention. All other calling conventions are disallowed. The patch works only for OpenCL source. Any other uses will need to ensure that kernels are assigned the spir_kernel calling convention correctly. llvm-svn: 226548 -
Karthik Bhat authored
This patch fixes 2 issues in reorderInputsAccordingToOpcode 1) AllSameOpcodeLeft and AllSameOpcodeRight was being calculated incorrectly resulting in code not being vectorized in few cases. 2) Adds logic to reorder operands if we get longer chain of consecutive loads enabling vectorization. Handled the same for cases were we have AltOpcode. Thanks Michael for inputs and review. Review: http://reviews.llvm.org/D6677 llvm-svn: 226547
-
David Majnemer authored
Don't infer COMDAT groups from older bitcode if the target is macho, it doesn't have COMDATs. llvm-svn: 226546
-
Duncan P. N. Exon Smith authored
This reverts commit r226542, effectively reapplying r226540. This time, initialize `IsEmpty` in the copy and move constructors as well. llvm-svn: 226545
-