- May 18, 2016
-
-
Jonathan Peyton authored
llvm-svn: 269987
-
Jacques Pienaar authored
isReturn() was returning different values with and without -g which led to different code being generated. Change isFlagSettingInstruction to query an instruction's effect on SR instead. llvm-svn: 269986
-
Michael Zolotukhin authored
[LoopUnrollAnalyzer] Take into account cost of instructions controlling branches, along with their operands. Previously, we didn't add their and their operands cost, which could've resulted in unrolling loops for no actual benefit. llvm-svn: 269985
-
Rafael Espindola authored
llvm-svn: 269983
-
Rafael Espindola authored
Lazy binding is quite important for use case like a shared build of llvm. Also, if someone wants to disable it, it is better done in the compiler (disable plt generation). The only reason to keep it is to make it easier to add a new architecture. But it doesn't really help much as it is possible to start with non lazy relocation and plt code but still let the generic part create a dedicated .got.plt and .rela.plt. llvm-svn: 269982
-
Mike Aizatsky authored
Summary: Adds *fstat to the common interceptors. Removes the now-duplicate fstat interceptor from msan/tsan This adds fstat to asan/esan, which previously did not intercept it. Resubmit of http://reviews.llvm.org/D20318 with ios build fixes. Reviewers: eugenis, vitalybuka, aizatsky Subscribers: zaks.anna, kcc, bruening, kubabrecka, srhines, danalbert, tberghammer Differential Revision: http://reviews.llvm.org/D20350 llvm-svn: 269981
-
Omair Javaid authored
TestTopLevelExprs fails on arm and aarch64 linux similar to behaviour on android. A bug exists here: llvm.org/pr27787. This patch marks xfail on arm and aarch64. llvm-svn: 269980
-
Rafael Espindola authored
llvm-svn: 269979
-
Sanjay Patel authored
llvm-svn: 269977
-
Dan Gohman authored
llvm-svn: 269976
-
Dehao Chen authored
llvm-svn: 269974
-
Marshall Clow authored
llvm-svn: 269973
-
Jan Vesely authored
Use signed division otherwise all back jumps fail the check Fixes regression introduced in r269951 Differential Revision: http://reviews.llvm.org/D20380 llvm-svn: 269972
-
Kostya Serebryany authored
llvm-svn: 269971
-
Simon Pilgrim authored
llvm-svn: 269970
-
Krzysztof Parzyszek authored
When looking for an available spill slot, the register scavenger would stop after finding the first one with no register assigned to it. That slot may have size and alignment that do not meet the requirements of the register that is to be spilled. Instead, find an available slot that is the closest in size and alignment to one that is needed to spill a register from RC. Differential Revision: http://reviews.llvm.org/D20295 llvm-svn: 269969
-
Manman Ren authored
instance method. When diagnosing unimplemented class property, make sure we emit a warning when we only see an instance method with the right selector. Also warn when we only see a class method for an instance property. rdar://26141719 llvm-svn: 269968
-
Simon Pilgrim authored
llvm-svn: 269967
-
Simon Pilgrim authored
llvm-svn: 269966
-
Marshall Clow authored
When you assign a shared_ptr, the deleter gets called and assigned. In this routine, the assignment happens inside a critical section, which could (potentially) lead to a deadlock, if the deleter did something wonky. Now we swap the old value with an (empty) temporary shared_ptr, and then let the temporary delete the old value when it goes out of scope (after the lock has been released). This should fix PR#27724. Thanks to Hans Boehm for the bug report and the suggested fix. llvm-svn: 269965
-
Xinliang David Li authored
llvm-svn: 269964
-
Chad Rosier authored
llvm-svn: 269963
-
Sanjay Patel authored
llvm-svn: 269962
-
Steven Wu authored
Summary: -fembed-bitcode was only checking for old style LTO flag (-flto) but not considering the new -flto= style option. That makes clang output bitcode embedded in bitcode object when using -flto= and -fembed-bitcode= together. Now clang should output normal bitcode file when using LTO and ignores -fembed-bitcode option. Reviewers: joker.eph Subscribers: joker.eph, cfe-commits Differential Revision: http://reviews.llvm.org/D20374 llvm-svn: 269961
-
Haojian Wu authored
llvm-svn: 269957
-
Benjamin Kramer authored
This is used to find nested classes. For a nested name foo::bar::qux we will first look up foo::bar::qux, then foo::bar, then foo unless we find a result. This is used to support nested classes which are not part of the index but can only be used if the header for the parent context is included. Differential Revision: http://reviews.llvm.org/D20372 llvm-svn: 269956
-
Rui Ueyama authored
llvm-svn: 269955
-
Rafael Espindola authored
llvm-svn: 269954
-
Chris Bieneman authored
This re-applies r269845, r269846, and r269850 with an included fix for a crash reported by zturner. llvm-svn: 269953
-
Miklos Vajna authored
The result of the test was C::D(), not D::D(). Reviewers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D20356 llvm-svn: 269952
-
Matt Arsenault authored
llvm-svn: 269951
-
Matt Arsenault authored
We can chain bcnt instructions together, so any width popcnt is pretty fast. llvm-svn: 269950
-
Hans Wennborg authored
with an additional fix to make RegAllocFast ignore undef physreg uses. It would previously get confused about the "push %eax" instruction's use of eax. That method for adjusting the stack pointer is used in X86FrameLowering::emitSPUpdate as well, but since that runs after register-allocation, we didn't run into the RegAllocFast issue before. llvm-svn: 269949
-
Matt Arsenault authored
For some reason an assert is now hit when a valid chain is not returned, so return the entry chain. llvm-svn: 269948
-
Francis Ricci authored
Summary: dlopen and dlclose interception are broken when RUNPATH is used: https://llvm.org/bugs/show_bug.cgi?id=27790 Reviewers: kutuzov.viktor.84, samsonov, dvyukov, eugenis, kcc Subscribers: kcc, filcab, kubabrecka, compnerd, llvm-commits Differential Revision: http://reviews.llvm.org/D20333 llvm-svn: 269947
-
Rafael Espindola authored
This just clang formats and cleans comments in an area I am about to post a patch for review. llvm-svn: 269946
-
Matt Arsenault authored
If the second pointer in a multi-pointer instruction is a constant, we can replace the type. llvm-svn: 269945
-
Matt Arsenault authored
Fix minor bugs and uses of undef which break when pointer related optimization passes are run. llvm-svn: 269944
-
Matt Arsenault authored
llvm-svn: 269943
-