- Apr 23, 2015
-
-
David Majnemer authored
This reverts commit r234700. It turns out that the lifetime markers were not the cause of Chromium failing but a bug which was uncovered by optimizations exposed by the markers. llvm-svn: 235553
-
Krzysztof Parzyszek authored
llvm-svn: 235552
-
Reid Kleckner authored
llvm-svn: 235551
-
Reid Kleckner authored
In particular, this handles SSA values that are live *out* of a handler. The existing code only handles values that are live *in* to a handler. It also handles phi nodes in the block where normal control should resume after the end of a catch handler. When EH return points have phi nodes, we need to split the return edge. It is impossible for phi elimination to emit copies in the previous block if that block gets outlined. The indirectbr that we leave in the function is only notional, and is eliminated from the MachineFunction CFG early on. Reviewers: majnemer, andrew.w.kaylor Differential Revision: http://reviews.llvm.org/D9158 llvm-svn: 235545
-
David Majnemer authored
An nsw/nuw operation relies on the values feeding into it to not overflow if 'poison' is not to be produced. This means that optimizations which make modifications to the bottom of a chain (like SimplifyDemandedBits) must strip out nsw/nuw if they cannot ensure that they will be preserved. This fixes PR23309. llvm-svn: 235544
-
Lang Hames authored
Thanks to Dave Blaikie for catching this. llvm-svn: 235543
-
Reid Kleckner authored
I added the poisoning back in r76891 (2009) because of some bugs in Unladen Swallow, and then Evan Cheng added the setRangeWritable() call in r81308. Profiling a Release+Asserts build on Windows shows that this memory protection call is actually very expensive. 4 seconds of a 70 second Clang compilation are spent in VirtualQuery. These days we have more reliable tools like ASan to find these kinds of bugs, so we can go ahead and retire these checks. llvm-svn: 235542
-
Lang Hames authored
llvm-svn: 235541
-
Alexey Samsonov authored
llvm-svn: 235540
-
Alexey Samsonov authored
llvm-svn: 235539
-
Jim Ingham authored
breakpoints, for instance on the class of the thrown object. This change doesn't actually make that work, the part where we extract the thrown object type from the throw site isn't done yet. This provides a general programmatic "precondition" that you can add to breakpoints to give them the ability to do filtering on the LLDB side before we pass the stop on to the user-provided conditions & callbacks. llvm-svn: 235538
-
Reid Kleckner authored
Otherwise -fno-omit-frame-pointer and other flags like it aren't applied. Basic idea taken from Gao's patch, thanks! Differential Revision: http://reviews.llvm.org/D9203 llvm-svn: 235537
-
Yaron Keren authored
This is divrem_big7 since divrem_big6 is used in Pawel upcoming patch. llvm-svn: 235536
-
Krzysztof Parzyszek authored
llvm-svn: 235535
-
David Blaikie authored
This reverts commit r235458. It looks like this might be breaking something LTO-ish. Looking into it & will recommit with a fix/test case/etc once I've got more to go on. llvm-svn: 235533
-
Pete Cooper authored
The CondOpt pass currently uses LiveIntervals to set the dead flag on a def. This patch uses MachineRegisterInfo::use_empty instead as that is equivalent to the def being dead. This removes an instance of LiveIntervals in the pass manager pipeline and saves 3.8% of compile time on llc conpiled for AArch64. Reviewed by Chad Rosier and Zhaoshi. llvm-svn: 235532
-
Sanjay Patel authored
llvm-svn: 235531
-
Pirama Arumuga Nainar authored
Summary: Remove the CHECK-DAG calls introduced in r235341, and add a comment that this test may break due to scheduling variations. This patch completes the fix discussed in http://reviews.llvm.org/D8804 Reviewers: dsanders, srhines Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9178 llvm-svn: 235530
-
Krzysztof Parzyszek authored
llvm-svn: 235529
-
Pete Cooper authored
This causes OpKind and all the bitfields after it to use 32-bit load/stores instead of i24's for the existing bitfields. Bugs will be filed to track whether clang and llvm could have generated the 32-bit operations in the front-end or optimizer. Reviewed by Rafael. llvm-svn: 235528
-
Jim Ingham authored
llvm-svn: 235527
-
Luqman Aden authored
llvm-svn: 235526
-
Krzysztof Parzyszek authored
llvm-svn: 235525
-
Matt Arsenault authored
No test since calls are not actually supported yet. llvm-svn: 235524
-
Ed Maste authored
llvm.org/pr23318 llvm-svn: 235523
-
Yaron Keren authored
llvm-svn: 235522
-
Krzysztof Parzyszek authored
- Use static allocation for aligned stack objects. - Simplify dynamic stack object allocation. - Simplify elimination of frame-indices. llvm-svn: 235521
-
David Blaikie authored
[opaque pointer type] Use pointee type retrieved from asm, rather than accessing it via the pointer type llvm-svn: 235520
-
Reid Kleckner authored
llvm-svn: 235519
-
Daniel Sanders authored
Summary: ubsan was correctly catching the undefined behaviour but lit's shell was failing the test anyway because the exit code was non-zero as a result of the undefined behaviour. This fixes the test on a mips-linux-gnu target. Reviewers: samsonov Reviewed By: samsonov Subscribers: samsonov, llvm-commits, rsmith, sagar Differential Revision: http://reviews.llvm.org/D9155 llvm-svn: 235518
-
Sanjay Patel authored
Differential Revision: http://reviews.llvm.org/D7296 llvm-svn: 235517
-
- Apr 22, 2015
-
-
Krzysztof Parzyszek authored
llvm-svn: 235516
-
Ilia K authored
Summary: My understanding of the Windows API call GetLastError() is that it should only be checked when ::GetModuleFileName() returns 0 on error. Otherwise GetExecutablesPath() could return an error despite nLen being valid if GetLastError() was inconsistent. Patch updates function to only call GetOSLastError() when nLen == 0 Patch from ewan@codeplay.com Reviewers: EwanCrawford Subscribers: lldb-commits, deepak2427 Differential Revision: http://reviews.llvm.org/D9154 llvm-svn: 235515
-
Krzysztof Parzyszek authored
llvm-svn: 235514
-
Adhemerval Zanella authored
ARM32 ELF R_ARM_V4BX relocation format is a special relocation type that records the location of an ARMv4t BX instruction to enable a static linker to generate ARMv4 compatible instructions. This relocation does not contain a reference symbol. This patch enabled its creation by removing the requeriment of a relocation symbol target in ELFState<ELFT>::writeSectionContent. llvm-svn: 235513
-
Aaron Ballman authored
llvm-svn: 235512
-
Brendon Cahoon authored
An assert was triggered when attempting to create a new SCEV with operands of different types in the visitAddRecExpr. In this test case, the operand types of the numerator and denominator are different. The SCEV division code should generate a conservative answer when this happens. Differential Revision: http://reviews.llvm.org/D9021 llvm-svn: 235511
-
Ed Maste authored
llvm-svn: 235510
-
Andrea Di Biagio authored
This fixes a regression introduced at revision 218263. On AVX, if we optimize for size, a splat build_vector of a load is lowered into a VBROADCAST node. This is done even if the value type of the splat build_vector node is v2i64. Since AVX doesn't support v2f64/v2i64 broadcasts, revision 218263 added two extra tablegen patterns to allow selecting a VMOVDDUPrm from an X86VBroadcast where the scalar element comes from a loadi64/loadf64. However, revision 218263 forgot to add an extra fallback pattern for the case where we have a X86VBroadcast of a loadi64 with multiple uses. This patch adds the missing tablegen pattern in X86InstrSSE.td. This patch also adds an extra test to 'splat-for-size.ll' to verify that ISel doesn't crash with a 'fatal error in the backend' due to a missing AVX pattern to select v2i64 X86ISD::BROADCAST nodes. llvm-svn: 235509
-
Olivier Sallenave authored
llvm-svn: 235508
-