- Sep 03, 2015
-
-
Justin Bogner authored
Every time lit is invoked, I get warnings like so: lit.py: lit.cfg:286: note: Did not find llvm-go in /Users/bogner/build/llvm/./bin lit.py: lit.cfg:286: note: Did not find Kaleidoscope-Ch3 in /Users/bogner/build/llvm/./bin Since these tools are only built in certain configs, these warnings are superfluous. Change it so that we only warn about tools that are built in all configs. llvm-svn: 246684
-
Zachary Turner authored
Some tests were failing because the test would try to delete the file before inferior had exited, but on Windows this will fail by default unless you specify FILE_SHARE_DELETE when opening the file. Can't think of a good reason not to do this, so here it is. llvm-svn: 246682
-
Justin Bogner authored
Also updates the style to more modern conventions. llvm-svn: 246681
-
Richard Smith authored
[modules] Don't waste time reading in the names the module file writer gave to blocks. We don't need these names, and decoding the corresponding bitcode has a significant cost. llvm-svn: 246680
-
James Molloy authored
This test was updated in r246678 - fix a copypasta in a comment noticed post-commit. llvm-svn: 246679
-
James Molloy authored
We only looked through casts when one operand was a constant. We can also look through casts when both operands are non-constant, but both are in fact the same cast type. For example: %1 = icmp ult i8 %a, %b %2 = zext i8 %a to i32 %3 = zext i8 %b to i32 %4 = select i1 %1, i32 %2, i32 %3 llvm-svn: 246678
-
Sean Callanan authored
llvm-svn: 246677
-
Davide Italiano authored
llvm-svn: 246676
-
Hal Finkel authored
LowerVECTOR_SHUFFLE needs to decide whether to pass a vector shuffle off to the TableGen-generated matching code, and it does this by testing the same predicates used by the TableGen files. Unfortunately, when we added new P8Altivec-only predicates, we started universally testing them in LowerVECTOR_SHUFFLE, and if then matched when targeting a system prior to a P8, we'd end up with a selection failure. llvm-svn: 246675
-
Sean Callanan authored
llvm-svn: 246674
-
Frederic Riss authored
With a fix for big endian machines. Thanks to Daniel Sanders for the debugging! Original commit message: The binaries containing the linked DWARF generated by dsymutil are not standard relocatable object files like emitted did previsously. They should be dSYM companion files, which means they have a different file type in the header, but also a couple other peculiarities: - they contain the segments and sections from the original binary in their load commands, but not the actual contents. This means they get an address and a size, but their offset is always 0 (but these are not virtual sections) - they also conatin all the defined symbols from the original binary This makes MC a really bad fit to emit these kind of binaries. The approach that was used in this patch is to leverage MC's section layout for the debug sections, but to use a replacement for MachObjectWriter that lives in MachOUtils.cpp. Some of the low-level helpers from MachObjectWriter were reused too. llvm-svn: 246673
-
Zachary Turner authored
llvm-svn: 246672
-
Zachary Turner authored
Instead of fixing these tests by finding a pexpect replacement, this set of tests can be fixed by re-writing the test to not use pexpect. llvm.org/pr24679 llvm-svn: 246671
-
Zachary Turner authored
llvm.org/pr24668 llvm-svn: 246670
-
Zachary Turner authored
llvm-svn: 246669
-
Zachary Turner authored
https://llvm.org/pr24660 llvm-svn: 246668
-
Sean Callanan authored
debug-only. This is not the case; when they fire we are about to crash or do something horrible anyway, so they should stay in. llvm-svn: 246667
-
Sean Callanan authored
llvm-svn: 246666
-
Davide Italiano authored
Example output: File: <stdin> Format: Mach-O arm Arch: arm AddressSize: 32bit Segment { Cmd: LC_SEGMENT Name: Size: 260 vmaddr: 0x0 vmsize: 0x10 fileoff: 408 filesize: 408 maxprot: rwx initprot: rwx nsects: 3 flags: 0x0 } Differential Revision: http://reviews.llvm.org/D12542 llvm-svn: 246665 -
NAKAMURA Takumi authored
llvm-svn: 246664
-
Aaron Ballman authored
Disable clang-tidy Google checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. llvm-svn: 246663
-
Rafael Espindola authored
llvm-svn: 246662
-
Aaron Ballman authored
Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. llvm-svn: 246661
-
Aaron Ballman authored
Move some more functionality into the AST consumer creation factory function, before registering matchers with the MatchFinder object. This allows us to set the language options for the ClangTidyContext object appropriately so that they can be used from registerMatchers(), and more closely models the way the clang-tidy tool works. llvm-svn: 246660
-
- Sep 02, 2015
-
-
David Majnemer authored
TagDecls (structs, enums, etc.) may have the same name for linkage purposes of one another; to disambiguate, we add a number to the mangled named. However, we didn't do this if the TagDecl has a pseudo-name for linkage purposes (it was defined alongside a DeclaratorDecl or a TypeNameDecl). This fixes PR24651. llvm-svn: 246659
-
Sanjay Patel authored
This is a continuation of the fix from: http://reviews.llvm.org/D10662 and discussion in: http://reviews.llvm.org/D12154 Here, we distinguish slow unaligned SSE (128-bit) accesses from slow unaligned scalar (64-bit and under) accesses. Other lowering (eg, getOptimalMemOpType) assumes that unaligned scalar accesses are always ok, so this changes allowsMisalignedMemoryAccesses() to match that behavior. Differential Revision: http://reviews.llvm.org/D12543 llvm-svn: 246658
-
Benjamin Kramer authored
llvm-svn: 246657
-
Rafael Espindola authored
This removes a report_fatal_error from library and avoids checking a section property for every section entry. llvm-svn: 246656
-
Angel Garcia Gomez authored
Summary: loop-convert no longer crashes when calling a member function using a member pointer which is a member of another record. Reviewers: alexfh, klimek Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D12555 llvm-svn: 246655
-
Asaf Badouh authored
add byte shift left/right add SAD - compute sum of absolute differences Differential Revision: http://reviews.llvm.org/D12479 llvm-svn: 246654
-
Chad Rosier authored
llvm-svn: 246653
-
Douglas Katzman authored
llvm-svn: 246652
-
Joseph Tremoulet authored
Summary: Add the necessary plumbing so that llvm_token_ty can be used as an argument/return type in intrinsic definitions and correspondingly require TokenTy in function types. TokenTy is an opaque type that has no target lowering, but can be used in machine-independent intrinsics. It is required for the upcoming llvm.eh.padparam intrinsic. Reviewers: majnemer, rnk Subscribers: stoklund, llvm-commits Differential Revision: http://reviews.llvm.org/D12532 llvm-svn: 246651
-
Douglas Katzman authored
llvm-svn: 246650
-
Tamas Berghammer authored
This fixes a regression caused by r245645 where creating alternative thumb disassembler was enabled even when the main disassembler is already thumb. llvm-svn: 246649
-
Tamas Berghammer authored
If no architecture is defined for the disassambler command then it uses the architecture of the target. In case of arm it will be "arm" what is treated as the oldest arm version by the LLVM disassambler causing a lot of invalid opcode in the output. This change forces the use of "armv8.1a" (the newest arm architecture) if no sub architecure was specified (either by the user or by the target) to disassamble all instruction. Differential revision: http://reviews.llvm.org/D12553 llvm-svn: 246648
-
Pavel Labath authored
tests have been reliably passing at least the last 100 runs of the build bot. llvm-svn: 246647
-
Aaron Ballman authored
llvm-svn: 246646
-
Pavel Labath authored
llvm-svn: 246645
-
Pavel Labath authored
llvm-svn: 246644
-