- 13 Aug, 2015 40 commits
-
-
Alex Lorenz authored
llvm-svn: 244953
-
Naomi Musgrave authored
Summary: Fixed test in response to buildbot failures from last night. Reviewers: eugenis, kcc Differential Revision: http://reviews.llvm.org/D12018 llvm-svn: 244952
-
Zachary Turner authored
Most were already XFAIL'ed, but the reason for the XFAIL is that we don't have a suitable pexpect implementation on Windows. This isn't going to change unintentionally, so there is no reason to XFAIL them as opposed to just skip them. llvm.org/pr22274 tracks finding a suitable pexpect module for Windows, which should fix many of these issues. llvm.org/pr24452 tracks the larger issue of making the entire lldb-mi test suite work on Windows, of which finding a pexpect module is just one component. llvm-svn: 244951
-
Zachary Turner authored
https://llvm.org/pr24446 tracks getting these tests re-enabled. llvm-svn: 244950
-
Simon Pilgrim authored
Follow up to D10947 - D9746 added general SMAX/SMIN/UMAX/UMIN pattern matching to SelectionDAGBuilder::visitSelect. This patch removes the X86 implementation and improves the AVX1/AVX2 support to correctly lower 256-bit integer vectors. Differential Revision: http://reviews.llvm.org/D12006 llvm-svn: 244949
-
Chris Bieneman authored
Summary: This is a reunification of three separate reviews D11073, D11082, D11083. Having them separate was not constructive even though the patches were smaller because it led to fragmented conversations, and this is really all about one change. This patch incorporates feedback from samsonov, and refactors the hacky darwin code out of the root CMakeLists.txt and int config-ix.cmake. Reviewers: zaks.anna, bogner, kubabrecka, chandlerc, samsonov Subscribers: jevinskie, filcab, llvm-commits Differential Revision: http://reviews.llvm.org/D11820 llvm-svn: 244948
-
Davide Italiano authored
If <src> is non-zero we can safely set the flag to true, and this results in less code generated for, e.g. ffs(x) + 1 on FreeBSD. Thanks to majnemer for suggesting the fix and reviewing. Code generated before the patch was applied: 0: 0f bc c7 bsf %edi,%eax 3: b9 20 00 00 00 mov $0x20,%ecx 8: 0f 45 c8 cmovne %eax,%ecx b: 83 c1 02 add $0x2,%ecx e: b8 01 00 00 00 mov $0x1,%eax 13: 85 ff test %edi,%edi 15: 0f 45 c1 cmovne %ecx,%eax 18: c3 retq Code generated after the patch was applied: 0: 0f bc cf bsf %edi,%ecx 3: 83 c1 02 add $0x2,%ecx 6: 85 ff test %edi,%edi 8: b8 01 00 00 00 mov $0x1,%eax d: 0f 45 c1 cmovne %ecx,%eax 10: c3 retq It seems we can still use cmove and save another 'test' instruction, but that can be tackled separately. Differential Revision: http://reviews.llvm.org/D11989 llvm-svn: 244947
-
Alexey Samsonov authored
Summary: Let UBSan output flag description if 'help' options is provided. Report unrecognized flags if verbosity mode is turned on. Patch by Svetlana Ryabkova! Differential Revision: http://reviews.llvm.org/D11903 llvm-svn: 244946
-
Alex Lorenz authored
This commit extracts the code that parses the memory operand's alignment into a new method named 'parseAlignment' so that it can be reused when parsing the basic block's alignment attribute. llvm-svn: 244945
-
Simon Pilgrim authored
llvm-svn: 244944
-
Alex Lorenz authored
This commit renames the method 'diagFromLLVMAssemblyDiag' to 'diagFromBlockStringDiag'. This method will be used when converting diagnostics from other YAML block strings, and not just the LLVM module block string, so the new name should reflect that. llvm-svn: 244943
-
Rafael Espindola authored
They don't need to be aligned to page boundaries. Only segments need that. llvm-svn: 244942
-
Rafael Espindola authored
llvm-svn: 244941
-
Reid Kleckner authored
llvm-svn: 244940
-
Rafael Espindola authored
llvm-svn: 244939
-
Rafael Espindola authored
llvm-svn: 244938
-
Jingyue Wu authored
We used to be over-conservative about preserving inbounds. Actually, the second GEP (which applies the constant offset) can inherit the inbounds attribute of the original GEP, because the resultant pointer is equivalent to that of the original GEP. For example, x = GEP inbounds a, i+5 => y = GEP a, i // inbounds removed x = GEP inbounds y, 5 // inbounds preserved llvm-svn: 244937 -
Yaron Keren authored
llvm-svn: 244936
-
Yaron Keren authored
llvm-svn: 244935
-
Rafael Espindola authored
This is a bit more c++ code, but: * It is less machine code: lld's text is 44688 bytes smaller. * It should be a bit more efficient in the non native endian case. * It should be a bit more efficient on architectures with slow unaligned access. llvm-svn: 244934
-
Naomi Musgrave authored
Summary: Poisoning applied to only class members, and before dtors for base class invoked Implement poisoning of only class members in dtor, as opposed to also poisoning fields inherited from base classes. Members are poisoned only once, by the last dtor for a class. Skip poisoning if class has no fields. Verify emitted code for derived class with virtual destructor sanitizes its members only once. Removed patch file containing extraneous changes. Reviewers: eugenis, kcc Differential Revision: http://reviews.llvm.org/D11951 Simplified test cases for use-after-dtor Summary: Simplified test cases to focus on one feature at time. Tests updated to align with new emission order for sanitizing callback. Reviewers: eugenis, kcc Differential Revision: http://reviews.llvm.org/D12003 llvm-svn: 244933
-
David Majnemer authored
Archive files wouldn't lead to us reprocessing the section relocations for the new object files. llvm-svn: 244932
-
Richard Smith authored
llvm-svn: 244931
-
Rafael Espindola authored
llvm-svn: 244930
-
Rafael Espindola authored
There is no reason not to do it and this matches what gold and bfd ld do. llvm-svn: 244929
-
Yaron Keren authored
After r244870 flush() will only compare two null pointers and return, doing nothing but wasting run time. The call is not required any more as the stream and its SmallString are always in sync. Thanks to David Blaikie for reviewing. llvm-svn: 244928
-
Richard Smith authored
llvm-svn: 244927
-
Reid Kleckner authored
llvm-svn: 244926
-
Reid Kleckner authored
llvm-svn: 244925
-
Nick Lewycky authored
llvm-svn: 244924
-
Richard Smith authored
files: include the .pcm file itself in the .d output, rather than including its own input files. Other forms of module file continue to be transparent for .d output. Arguably, the input files for the .pcm file are still inputs to the compilation, but that's unnecessary for make-like build systems (where the mtime of the .pcm file is sufficient) and harmful for smarter build systems that know about module files and want to track only the local dependencies. llvm-svn: 244923
-
Reid Kleckner authored
-fno-rtti-data makes it so that vtables emitted in the current TU lack RTTI data. This means that dynamic_cast usually fails at runtime. Users of the existing cxx_rtti feature expect all of RTTI to work, not just some of it. Chromium bug for context: http://crbug.com/518191 llvm-svn: 244922
-
Nemanja Ivanovic authored
This patch corresponds to review: http://reviews.llvm.org/D11471 It improves the code generated for converting a scalar to a vector value. With direct moves from GPRs to VSRs, we no longer require expensive stack operations for this. Subsequent patches will handle the reverse case and more general operations between vectors and their scalar elements. llvm-svn: 244921
-
Igor Laevsky authored
Differential Revision: http://reviews.llvm.org/D11352 llvm-svn: 244920
-
Rafael Espindola authored
llvm-svn: 244919
-
Rafael Espindola authored
This will allow further cleanups. llvm-svn: 244918
-
Ben Langmuir authored
Some compilers were less happy about converting a lambda to a comparator function for array_pod_sort. llvm-svn: 244917
-
James Molloy authored
This was my error. We've got f32 marked as legal because they're simulated using a v2f32 instruction, but there's no equivalent for f64. This will get test coverage imminently when D12015 lands. llvm-svn: 244916
-
James Molloy authored
This overrides the default to more closely resemble the hand-crafted matching logic in ISelLowering. It makes sense, as there is no VFP equivalent of vmin or vmax, to use them when they're available even if in general VFP ops should be preferred. This should be NFC. llvm-svn: 244915
-
James Molloy authored
They rely on global fast-math options, but soon ISel will rely only on fast-math flags on the instructions themselves. Rip the fast checks out into their own file so we can mark their instructions as fast. llvm-svn: 244914
-