- Aug 12, 2016
-
-
Matt Arsenault authored
llvm-svn: 278391
-
Krzysztof Parzyszek authored
- PS_pselect: general register pairs - PS_vselect: vector registers (+ 128B version) - PS_wselect: vector register pairs (+ 128B version) llvm-svn: 278390
-
Ivan Krasin authored
Summary: Keep track of all methods for which we have devirtualized at least one call and then print them sorted alphabetically. That allows to avoid duplicates and also makes the order deterministic. Add optimization names into the remarks, so that it's easier to understand how has each method been devirtualized. Fix a bug when wrong methods could have been reported for tryVirtualConstProp. Reviewers: kcc, mehdi_amini Differential Revision: https://reviews.llvm.org/D23297 llvm-svn: 278389
-
Marshall Clow authored
llvm-svn: 278387
-
Pete Cooper authored
A future commit will change when we choose to add an LC_LOAD_DYLIB to the final image. Currently we do this when an atom is used, but we need to do it when a dylib is referenced on the cmdline as this matches ld64. To allow this change, libsystem (and other future yaml files representing dylibs) need to be dylibs so that the loader can see to add them to the referenced dylib list. llvm-svn: 278386
-
Pete Cooper authored
Fix one more test missed by r278372. The next commit will update libsystem in a way which broke without this fix as it referenced the wrong file llvm-svn: 278385
-
Wei Mi authored
subreg_to_reg, and reg_sequence" instructions. This is to solve PR28852. The restriction was added at 2010 to make better register coalescing. We assumed that it was not necessary any more. Testing results on x86 supported the assumption. We will look closely to any performance impact it will bring and will be prepared to help analyzing performance problem found on other architectures. Differential Revision: https://reviews.llvm.org/D23210 llvm-svn: 278384
-
Krzysztof Parzyszek authored
Differential Revision: https://reviews.llvm.org/D23207 llvm-svn: 278383
-
Devin Coughlin authored
Change the retain count checker to treat CoreFoundation-style "CV"-prefixed reference types from CoreVideo similarly to CoreGraphics types. With this change, we treat CVFooRetain() on a CVFooRef type as a retain. CVFooRelease() APIs are annotated as consuming their parameter, so this change prevents false positives about incorrect decrements of reference counts. <rdar://problem/27116090> llvm-svn: 278382
-
Pete Cooper authored
A version of 0x1000 is 0.16.0, not 1.0.0 as the comment said. Fix the value to match the comment, and also the one test case which had this wrong. llvm-svn: 278381
-
Barnabas Bittner authored
llvm-svn: 278380
-
Bruno Cardoso Lopes authored
Follow-up from r278264 after Joerg's feedback. Since bzero is not standard, be more strict: also check if the first argument is a pointer, which harden the check for when it does not come originally from a builtin. llvm-svn: 278379
-
Andrew Kaylor authored
Patch by Sunita Marathe Differential Revision: https://reviews.llvm.org/D21449 llvm-svn: 278378
-
Easwaran Raman authored
This adds a createFunctionInliningPass pass that takes an InlineParams object and use this to create the pre-inliner pass. This prevents the regular inliner's threshold flag from influencing the preinliner. Differential revision: https://reviews.llvm.org/D23377 llvm-svn: 278377
-
Krzysztof Parzyszek authored
From the point of view of register assignment, byval parameters are ignored: a byval parameter is not going to be assigned to a register, and it will not affect the assignments of subsequent parameters. When matching registers with parameters in the bit tracker, make sure to skip byval parameters before advancing the registers. llvm-svn: 278375
-
Zachary Turner authored
llvm-svn: 278373
-
Pete Cooper authored
An upcoming commit will change how we choose to reference a dylib. Currently dylibs are only given an LC_LOAD_DYLIB in the final image if an atom is used. This is different from ld64 which adds the load command when the dylib is referenced on the cmdline. In order to change this behaviour, we need libSystem.yaml to actually contain a mach header so that it is parsed as a dylib, instead of currently being parsed as a normalised file. To get a mach header, we also require an arch, so now we have one libsystem per arch and all the tests have been updated to choose the correct one. llvm-svn: 278372
-
Dominic Chen authored
Summary: Some backends, like WebAssembly, use virtual registers instead of physical registers. This crashes the DbgValueHistoryCalculator pass, which assumes that all registers are physical. Instead, skip virtual registers when iterating aliases, and assume that they are clobbered. Reviewers: dexonsmith, dschuff, aprantl Subscribers: yurydelendik, llvm-commits, jfb, sunfish Differential Revision: https://reviews.llvm.org/D22590 llvm-svn: 278371
-
Michael Kuperstein authored
This fixes PR28824. Differential Revision: https://reviews.llvm.org/D23220 llvm-svn: 278370
-
Matt Arsenault authored
llvm-svn: 278369
-
Vedant Kumar authored
Factor out some common logic used to find the runtime library in a list of modules. Differential Revision: https://reviews.llvm.org/D23150 llvm-svn: 278368
-
Vedant Kumar authored
Adapters for instrumentation runtimes have to do two basic things: 1) Load a runtime library. 2) Install breakpoints in that library. This logic is duplicated in the adapters for asan and tsan. Factor it out and document bits of it to make it easier to add new adapters. I tested this with check-lldb, and double-checked testcases/functionalities/{a,t}san. Differential Revision: https://reviews.llvm.org/D23043 llvm-svn: 278367 -
Matt Arsenault authored
llvm-svn: 278366
-
Michael Kuperstein authored
Deletes unused remove() and containsPointer() interfaces. NFC. Differential Revision: https://reviews.llvm.org/D23360 llvm-svn: 278365
-
Eugene Zelenko authored
Differential revision: https://reviews.llvm.org/D23291 llvm-svn: 278364
-
Teresa Johnson authored
Try to appease MSVC bot: http://lab.llvm.org:8011/builders/sanitizer-windows/builds/27164/steps/run%20tests/logs/stdio llvm-svn: 278363
-
Matt Arsenault authored
This was kind of confusing, the subregister class shouldn't really be necessary. llvm-svn: 278362
-
Matt Arsenault authored
llvm-svn: 278361
-
Wei Ding authored
Differential Revision: http://reviews.llvm.org/D23133 llvm-svn: 278360
-
Simon Atanasyan authored
llvm-svn: 278359
-
Simon Atanasyan authored
llvm-svn: 278358
-
Saleem Abdulrasool authored
Some filesystems track atime always. This relaxes the test to accept either a filesystem which does not accurately track atime or does track the atime accurately. This allows the test to pass on filesystems mounted with `strictatime` on Linux or on macOS. llvm-svn: 278357
-
Sebastian Pop authored
basic_string's constructor calls init which was not getting inlined. This prevented optimization of const string as init would appear as a call in between a string's def and use. Patch by Laxman Sole and Aditya Kumar. Differential Revision: https://reviews.llvm.org/D22782 llvm-svn: 278356
-
Duncan P. N. Exon Smith authored
Check for end() before skipping through debug values. This avoids dereferencing end() when the instruction is the final one in the basic block. (It still assumes that a debug value will not be the final instruction in the basic block. No tests seemed to violate that.) Many Hexagon tests trigger this, but they happen to magically pass right now. I found this because WIP patches for PR26753 convert them into crashes. llvm-svn: 278355
-
Wei Ding authored
Differential Revision: http://reviews.llvm.org/D23133 llvm-svn: 278354
-
Teresa Johnson authored
There are still a few missing symbols reported by: http://bb.pgr.jp/builders/i686-mingw32-RA-on-linux/builds/15535/steps/build_llvmclang/logs/stdio http://bb.pgr.jp/builders/i686-mingw32-RA-on-linux/builds/15535/steps/build_llvmclang/logs/stdio This should hopefully take care of them. llvm-svn: 278353
-
Simon Atanasyan authored
llvm-svn: 278352
-
Tim Northover authored
Otherwise we only materialize (shared) constants in the first function they appear in. This doesn't go well. llvm-svn: 278351
-
Reid Kleckner authored
After machine block placement, MBBs may not have terminators, and it is appropriate to check for the end iterator here. We can fold the check into the next if, as well. This look is really just looking for BBs that end in CATCHRET. llvm-svn: 278350
-
- Aug 11, 2016
-
-
Teresa Johnson authored
Follow-on to r278341: Update CMakeLists.txt to match LLVMBuild.txt llvm-svn: 278349
-