Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from llvm:master #45

Merged
merged 6 commits into from
Aug 29, 2019
Merged

[pull] master from llvm:master #45

merged 6 commits into from
Aug 29, 2019

Commits on Aug 29, 2019

  1. [NFC][SimplifyCFG] 'Safely extract low bits' pattern will also benefi…

    …t from -phi-node-folding-threshold=3
    
    This is the naive implementation of x86 BZHI/BEXTR instruction:
    it takes input and bit count, and extracts low nbits up to bit width.
    I.e. unlike shift it does not have any UB when nbits >= bitwidth.
    Which means we don't need a while PHI here, simple select will do.
    And if it's a select, it should then be trivial to fix codegen
    to select it to BEXTR/BZHI.
    
    See https://bugs.llvm.org/show_bug.cgi?id=34704
    
    llvm-svn: 370369
    LebedevRI committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    05ef495 View commit details
    Browse the repository at this point in the history
  2. [clangd] Update out-of-date links in readme, NFC.

    llvm-svn: 370371
    hokein committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    1a28e11 View commit details
    Browse the repository at this point in the history
  3. [Clangd] NFC: Added fixme for checking for local/anonymous types for …

    …extracted parameters
    
    llvm-svn: 370372
    sureyeaah committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    6a80145 View commit details
    Browse the repository at this point in the history
  4. Remove DWARFExpression::LocationListSize

    Summary:
    The only reason for this function's existance is so that we could pass
    the correct size into the DWARFExpression constructor. However, there is
    no harm in passing the entire data extractor into the DWARFExpression,
    since the same code is performing the size determination as well as the
    subsequent parse. So, if we get malformed input or there's a bug in the
    parser, we'd compute the wrong size anyway.
    
    Additionally, reducing the number of entry points into the location list
    parsing machinery makes it easier to switch the llvm debug_loc(lists)
    parsers.
    
    While inside, I added a couple of tests for invalid location list
    handling.
    
    Reviewers: JDevlieghere, clayborg
    
    Subscribers: aprantl, javed.absar, kristof.beyls, lldb-commits
    
    Differential Revision: https://reviews.llvm.org/D66789
    
    llvm-svn: 370373
    labath committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    ef82098 View commit details
    Browse the repository at this point in the history
  5. Fix GetDIEForDeclContext so it only returns entries matching the prov…

    …ided context
    
    Currently, we return all the entries such that their decl_ctx pointer >= decl_ctx provided.
    Instead, we should return only the ones that decl_ctx pointer == decl_ctx provided.
    
    Differential Revision: https://reviews.llvm.org/D66357
    Patch by Guilherme Andrade <guiandrade@google.com>.
    
    llvm-svn: 370374
    labath committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    f07b4af View commit details
    Browse the repository at this point in the history
  6. [PowerPC][NFC] Update fp-int-conversions-direct-moves.ll using script

    Also add -ppc-asm-full-reg-names,-ppc-vsr-nums-as-vr.
    
    llvm-svn: 370375
    Jinsong Ji committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    8b0317a View commit details
    Browse the repository at this point in the history