- Mar 25, 2016
-
-
Matt Arsenault authored
This resolves bug 21148 by preventing promotion to i64 induction variables. llvm-svn: 264376
-
Hans Wennborg authored
This is the same as r255936, with added logic for avoiding clobbering of the red zone (PR26023). Differential Revision: http://reviews.llvm.org/D18246 llvm-svn: 264375
-
Matt Arsenault authored
llvm-svn: 264374
-
Duncan P. N. Exon Smith authored
Remove logic to upgrade !llvm.loop by changing the MDString tag directly. This old logic would check (and change) arbitrary strings that had nothing to do with loop metadata. Instead, check !llvm.loop attachments directly, and change which strings get attached. Rather than updating the assembly-based upgrade, drop it entirely. It has been quite a while since we supported upgrading textual IR. llvm-svn: 264373
-
Duncan P. N. Exon Smith authored
Besides a small compile-time speedup, there should be no real functionality change here. llvm-svn: 264372
-
Duncan P. N. Exon Smith authored
This reserves an MDKind for !llvm.loop, which allows callers to avoid a string-based lookup. I'm not sure why it was missing. There should be no functionality change here, just a small compile-time speedup. llvm-svn: 264371
-
Saleem Abdulrasool authored
We did not have an explicit branch to the continuation BB. When the check was hoisted, this could permit control follow to fall through into the division trap. Add the explicit branch to the continuation basic block to ensure that code execution is correct. llvm-svn: 264370
-
Matt Arsenault authored
llvm-svn: 264369
-
Matt Arsenault authored
Ideally this would also happen for fneg, but that isn't a distinct operation in the IR. llvm-svn: 264368
-
NAKAMURA Takumi authored
llvm-svn: 264367
-
Adrian Prantl authored
In r259975 we rauw'ed the scope of enum declarations without taking into account that DIBuilder strips out scope references that point to the DICompileUnit to facilitate type uniquing. This testcase guards against making the same mistake again. <rdar://problem/25078246> llvm-svn: 264366
-
NAKAMURA Takumi authored
llvm-svn: 264365
-
Matt Arsenault authored
We don't want to have a cost to scalarizing operations. llvm-svn: 264364
-
Richard Smith authored
llvm-svn: 264363
-
NAKAMURA Takumi authored
clang-tools-extra/test/clang-tidy/readability-redundant-string-cstr.cpp: Appease MS targets with -fno-ms-compatibility. FIXME: Add a test with -fms-compatibility. llvm-svn: 264362
-
Greg Clayton authored
llvm-svn: 264361
-
Reid Kleckner authored
This implements my suggestion to Lang. llvm-svn: 264360
-
Richard Smith authored
record rather than relative to the start of the bitcode file. Saves a couple of bytes per LOCAL_REDECLARATIONS record (also makes diffs of llvm-bcanalyzer output more useful when tracking down nondeterminism...). llvm-svn: 264359
-
Manman Ren authored
It is incorrect to get the corresponding MBB for a ReturnInst before SelectAllBasicBlocks since SelectAllBasicBlocks can change the correspondence between a ReturnInst and the MBB it is in. PR27062 llvm-svn: 264358
-
Sanjay Patel authored
This is an enhancement of the existing update_llc_test_checks.py script. It adds some of the functionality from the script used in D17999 to make the IR checking more flexible. The bad news: This actually is 'My First Python Program'. Thus, it's likely that I have violated all best practices of Python programming if I've made a functional change from the original program. If you see anything that's obviously wrong, please let me know or feel free to fix it. I didn't even read any documentation... The good news: I tested this on ~10 existing opt/llc regression tests, and it does what I hoped for. It produces exact checking for IR regression tests and doesn't signficantly change the existing llc-with-x86-target asm checking. The opt tests that were modified in r263667, r263668, r263674, and r263679 are examples of the expected results, except that this version of the script puts the check lines ahead of the IR to follow the existing llc/asm behavior. If there are no complaints/fallout, we should be able to remove the original script. Extending this script to be used for non-x86 and clang regression tests would be the expected follow-up steps. llvm-svn: 264357
-
Enrico Granata authored
llvm-svn: 264356
-
Sanjoy Das authored
llvm-svn: 264355
-
Sanjoy Das authored
Earlier we were ignoring varargs in LowerCallSiteWithDeoptBundle because populateCallLoweringInfo does not set CallLoweringInfo::IsVarArg. llvm-svn: 264354
-
Jason Molenda authored
so that the lldb command line binary's version #'s are updated correctly. <rdar://problem/25346711> llvm-svn: 264353
-
Sean Silva authored
Patch by Robert Ma <bob1211@gmail.com>! llvm-svn: 264352
-
Stephane Sezer authored
Summary: Fixes SBCommandReturnObject::SetImmediateOutputFile() and SBCommandReturnObject::SetImmediateOutputFile() for files opened with "a" or "a+" by resolving inconsistencies between File and our Python parsing of file objects. Reviewers: granata.enrico, Eugene.Zelenko, jingham, clayborg Subscribers: lldb-commits, sas Differential Revision: http://reviews.llvm.org/D18228 Change by Francis Ricci <fjricci@fb.com> llvm-svn: 264351
-
David Blaikie authored
Going to be reading the DW_AT_GNU_dwo_name shortly as well, and there was already enough duplication here that it was worth refactoring rather than adding even more. llvm-svn: 264350
-
Mike Aizatsky authored
llvm-svn: 264349
-
Greg Clayton authored
Get rid of a global constructor and also make this code safe to use after the global destructor chain has been run on the main thread. llvm-svn: 264348
-
Greg Clayton authored
Get rid of two global constructors by making things static variables in the only function that uses these variables. llvm-svn: 264347
-
Greg Clayton authored
Get rid of a global constructor that was causing a warning on MacOSX and make the Timer safe to use after the main threads global destructor chain is called. llvm-svn: 264346
-
Matthias Braun authored
This fixes http://llvm.org/PR26991 llvm-svn: 264345
-
David Majnemer authored
We try to hoist the insertion point as high as possible to encourage sharing. However, we must be careful not to hoist into a catchswitch as it is both an EHPad and a terminator. llvm-svn: 264344
-
Enrico Granata authored
Make 'type lookup' print an error message instead of complete radio silence when it can't find a type matching user input It would be fun to make it provide suggestions (e.g. 'can't find NString, did you mean NSString instead?'), but this worries me a little bit on the account of just how thorough of a type system scan it would have to do llvm-svn: 264343
-
Easwaran Raman authored
Differential Revision: http://reviews.llvm.org/D18289 llvm-svn: 264342
-
Lang Hames authored
Somehow this got dropped in an earlier patch. llvm-svn: 264341
-
Eric Christopher authored
making sure we give it a register and mark it as a register constraint. llvm-svn: 264340
-
Eric Christopher authored
llvm-svn: 264339
-
Kostya Serebryany authored
llvm-svn: 264338
-
Sanjoy Das authored
Fixes an issue in rL264329. llvm-svn: 264337
-