aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Avoid redefinition of __STD_FORMAT_MACROS.Ian Rogers2014-01-291-1/+0
| | | | Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730
* Merge "llvm: rename aarch64 target to arm64"Colin Cross2014-01-242-6/+6
|\
| * llvm: rename aarch64 target to arm64Colin Cross2014-01-232-6/+6
|/ | | | | | | Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
* Merge "Remove unused files."Stephen Hines2014-01-222-218/+0
|\
| * Remove unused files.Logan Chien2014-01-092-218/+0
|/ | | | | | | | | | | | * copy-diff.py was the effort to reduce the libLLVM build time but no longer being used because the timestamp of the generated .inc files should always be updated. * tblgen-rules.mk has been splitted to llvm-tblgen-rules.mk and clang-tblgen-rules.mk, and tblgen-rules.mk won't be included by the other makefiles anymore. Change-Id: I60d41b5a2a68d639750068cadcee3e78a4527cd2
* Merge "AArch64: Temporarily disable AArch64 build"Ben Cheng2013-12-112-1/+8
|\
| * AArch64: Temporarily disable AArch64 buildSerban Constantinescu2013-12-112-1/+8
|/ | | | | | | | | This patch disables AArch64 build and will get us going with building bionic. Needs to be reverted once upstream llvm support is integrated into AOSP (AArch64 backend). Change-Id: I4dde21bc340d7d00d5ffda551db2e5ab83c85c63 Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* am 8e708faf: am 5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or ↵Stephen Hines2013-09-232-2/+2
|\ | | | | | | | | | | | | x86_64 build" * commit '8e708fafb747b3f1e536d87016bb67c118fb5b0d': x86_64/x32: Avoid early fail on x32 or x86_64 build
| * am 5edef2e8: Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"Stephen Hines2013-09-232-2/+2
| |\ | | | | | | | | | | | | * commit '5edef2e84e3c0d7df5e16904111061016a02c95f': x86_64/x32: Avoid early fail on x32 or x86_64 build
| | * Merge "x86_64/x32: Avoid early fail on x32 or x86_64 build"Stephen Hines2013-09-242-2/+2
| | |\
| | | * x86_64/x32: Avoid early fail on x32 or x86_64 buildPavel Chupin2013-09-202-2/+2
| | |/ | | | | | | | | | | | | Change-Id: I30186cfb74467004400a10e79e0fcbf72f876098 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | | am 3acb57db: (-s ours) am f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow ↵Stephen Hines2013-08-270-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | global-merge option to be accessed externally." * commit '3acb57db7bc4e1379acf668329a98acaccc2ba71': DO NOT MERGE - Allow global-merge option to be accessed externally.
| * | am f31eb8ab: (-s ours) Merge "DO NOT MERGE - Allow global-merge option to be ↵Stephen Hines2013-08-270-0/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | accessed externally." * commit 'f31eb8ab038dabe0f70710696e0091b85f3a84e7': DO NOT MERGE - Allow global-merge option to be accessed externally.
| | * Merge "DO NOT MERGE - Allow global-merge option to be accessed externally."Stephen Hines2013-08-271-1/+1
| | |\
| | | * DO NOT MERGE - Allow global-merge option to be accessed externally.Stephen Hines2013-08-261-1/+1
| | |/ | | | | | | | | | Change-Id: I39d1c5e05b5f1bbbf76f7491f7dc8cfa70a83611
* | | Mac only has ::futimes() and not ::futimens().Stephen Hines2013-08-131-0/+5
| | | | | | | | | | | | Change-Id: I61d7aab308971e632e01c649a8c2b503e851dadc
* | | Fix build break due to conflicting #define values.Stephen Hines2013-08-132-2/+2
| | | | | | | | | | | | Change-Id: I502c13aba9eb720a9591af998cb339836c9d8620
* | | Update LLVM for merge to r187913.Stephen Hines2013-08-0915-18/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add HAVE_FUTIMENS to */include/llvm/Config/config.h Update version number to 3.3 (even though this is tracking 3.4) Removed lib/Archive Added lib/Option Android.mk changes: - PathV2.cpp - SimplifyLibCalls.cpp - BlackList.cpp - VecUtils.cpp + MD5.cpp + CFG.cpp + SpecialCaseList.cpp + MachOUniversal.cpp + StructurizeCFG.cpp Change-Id: I8ee072cd0d4210a6a5492c0e6663f8464ff21386
* | | Merge commit '10251753b6897adcd22cc981c0cc42f348c109de' into merge-20130807Stephen Hines2013-08-073774-73854/+130004
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/Archive/ArchiveReader.cpp lib/Support/Unix/PathV2.inc Change-Id: I29d8c1e321a4a380b6013f00bac6a8e4b593cc4e
| * | | Using the integrated assembler we'd fail to change section to theEric Christopher2013-08-072-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .tbss section for zerofill thread locals. Make sure we do this before emitting the zerofills. Fixes PR15972. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187913 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Fix a FIXME, on darwin all virtual sections have a zerofill type.Eric Christopher2013-08-071-1/+2
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187912 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | On Windows, autolink advapi32 from Path.inc for CryptAcquireContextWReid Kleckner2013-08-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows llvm-tblgen to link successfully when compiling with clang. Both MSBuild and CMake will automatically add advapi32 as part of a set of other dlls comprising the win32 API to the link line, but CMake doesn't do that when compiling with clang. Until someone adds that info to cmake upstream, this seems like a reasonable work around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187907 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Add the common begin/end naming convention to the coding standard.Rafael Espindola2013-08-071-1/+3
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187902 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Move assert above first use of variable that we'd be asserting on.Eric Christopher2013-08-071-2/+2
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187899 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | lit/LitConfig.py: Fixup for msys bash.NAKAMURA Takumi2013-08-071-1/+1
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187896 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Confusing comment typo.Andrew Trick2013-08-071-1/+1
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187895 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Lit: Fixup in r187886.NAKAMURA Takumi2013-08-071-1/+1
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187887 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Lit: Resurrect --no-execute dropped in r187852.NAKAMURA Takumi2013-08-075-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | For now, builders in bb.pgr.jp are using it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187886 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | AVX-512 set: Added BROADCAST instructionsElena Demikhovsky2013-08-075-7/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with lowering logic and a test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187884 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [SystemZ] Optimize floating-point comparisons with zeroRichard Sandiford2013-08-077-74/+435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follows the same lines as the integer code. In the end it seemed easier to have a second 4-bit mask in TSFlags to specify the compare-like CC values. That eats one more TSFlags bit than adding a CCHasUnordered would have done, but it feels more concise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187883 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [SystemZ] Add floating-point load-and-test instructionsRichard Sandiford2013-08-079-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These instructions can also be used as comparisons with zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187882 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | JumpThreading: Turn a select instruction into branching if it allows to ↵Benjamin Kramer2013-08-072-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thread one half of the select. This is a common pattern coming out of simplifycfg generating gross code. a: ; preds = %entry %sel = select i1 %cmp1, double %add, double 0.000000e+00 br label %b b: %cond5 = phi double [ %sel, %a ], [ %sub, %entry ] %cmp6 = fcmp oeq double %cond5, 0.000000e+00 br i1 %cmp6, label %if.then, label %if.end becomes a: br i1 %cmp1, label %b, label %if.then b: %cond5 = phi double [ %sub, %entry ], [ %add, %a ] %cmp6 = fcmp oeq double %cond5, 0.000000e+00 br i1 %cmp6, label %if.then, label %if.end Skipping block b completely if possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187880 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Commit a no-op change to StringRef to (hopefully) trigger build bots.Chandler Carruth2013-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r187874 seems to have been missed by the build bot infrastructure, and the subsequent commits to compiler-rt don't seem to be queuing up new build requsets. Hopefully this will. As it happens, having the space here is the more common formatting. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187879 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Add support for linking against a curses library when available andChandler Carruth2013-08-079-11/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using it to detect whether or not a terminal supports colors. This replaces a particularly egregious hack that merely compared the TERM environment variable to "dumb". That doesn't really translate to a reasonable experience for users that have actually ensured their terminal's capabilities are accurately reflected. This makes testing a terminal for color support somewhat more expensive, but it is called very rarely anyways. The important fast path when the output is being piped somewhere is already in place. The global lock may seem excessive, but the spec for calling into curses is *terrible*. The whole library is terrible, and I spent quite a bit of time looking for a better way of doing this before convincing myself that this was the fundamentally correct way to behave. The damage of the curses library is very narrowly confined, and we continue to use raw escape codes for actually manipulating the colors which is a much sane system than directly using curses here (IMO). If this causes trouble for folks, please let me know. I've tested it on Linux and will watch the bots carefully. I've also worked to account for the variances of curses interfaces that I could finde documentation for, but that may not have been sufficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187874 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Remove some parens. No functional change.Eric Christopher2013-08-071-4/+4
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187872 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Simplify code. No functional change intended.Craig Topper2013-08-071-4/+1
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187870 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Initialize SIInsertWaits::ExpInstrTypesSeen in the pass constructor.Evgeniy Stepanov2013-08-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This value may be used uninitialized in SIInsertWaits::insertWait. Found with MemorySanitizer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187869 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Remove the assertion for now. This breaks lld.Dmitri Gribenko2013-08-071-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lld has a hashtable with StringRef keys; it needs to iterate over the keys in *insertion* order. This is currently implemented as std::vector<StringRef> + DenseMap<StringRef, T>. This will probably need a proper DenseMapInfo<StringRef> if we don't want to lose memory/performance by migrating to a different data structure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187868 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | LLVM Interpreter: MIPS tests should passElena Demikhovsky2013-08-071-1/+0
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187867 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | YAMLTraits.h: replace DenseMap that used a bad implementation of DenseMapInfoDmitri Gribenko2013-08-074-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for StringRef with a StringMap The bug is that the empty key compares equal to the tombstone key. Also added an assertion to DenseMap to catch similar bugs in future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187866 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Change public functions of LTOCodeGenerator from ret-false-on-succ to ↵Shuxin Yang2013-08-073-26/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ret-true-on-succ. As of this revision, all functions of LTOCodeGenerator are consistent in ret-true-on-succ. Tested on multiple OSes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187864 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | Create a pattern for the "trap" instruction.Reed Kotler2013-08-073-0/+42
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187863 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Use py2&3 compatible exec() syntax.Daniel Dunbar2013-08-071-1/+7
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187862 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Use newer StringIO class.Daniel Dunbar2013-08-071-17/+19
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187861 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Use modern absolute/relative import style.Daniel Dunbar2013-08-076-76/+84
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187860 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Avoid __cmp__ and cmp().Daniel Dunbar2013-08-071-12/+12
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187859 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Avoid use of iterator .next() method.Daniel Dunbar2013-08-072-12/+10
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187858 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Use .write() methods instead of print statement.Daniel Dunbar2013-08-076-27/+26
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187857 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Use dual-compatible print() syntax where possible.Daniel Dunbar2013-08-072-33/+31
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187856 91177308-0d34-0410-b5e6-96231b3b80d8
| * | | [lit] Remove use of deprecated parameter tuple unpacking.Daniel Dunbar2013-08-072-3/+3
| | | | | | | | | | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187855 91177308-0d34-0410-b5e6-96231b3b80d8