Skip to content
  1. May 15, 2020
  2. May 14, 2020
    • Eli Friedman's avatar
      LoadInst should store Align, not MaybeAlign. · accc6b55
      Eli Friedman authored
      The fact that loads and stores can have the alignment missing is a
      constant source of confusion: code that usually works can break down in
      rare cases.  So fix the LoadInst API so the alignment is never missing.
      
      To reduce the number of changes required to make this work, IRBuilder
      and certain LoadInst constructors will grab the module's datalayout and
      compute the alignment automatically.  This is the same alignment
      instcombine would eventually apply anyway; we're just doing it earlier.
      There's a minor risk that the way we're retrieving the datalayout
      could break out-of-tree code, but I don't think that's likely.
      
      This is the last in a series of patches, so most of the necessary
      changes have already been merged.
      
      Differential Revision: https://reviews.llvm.org/D77454
      accc6b55
    • Anna Thomas's avatar
      [RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer"" · eb282be9
      Anna Thomas authored
      This is relanding of rGbb308b020522420413c7d3f2989a88f2fc423c56 after
      speculatively fixing buildbot lit test failure which was seen on two
      bots (I cannot reproduce the lit test failure locally either).
      
      [RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived
      pointer
      
      Summary:
      This is a more general fix to 59029b9e (D75704).
      This patch does the following:
      
      updates isKnownBaseValue to account for base pointer and
      derived pointer having differing types.
      
      This inturn allows us to populate the
      lattice (States) for such derived pointers.
      
      It also updates all states where the base and derived pointers have
      differing types (vector versus scalar) and conservatively marks these
      states as conflictcs.
      Note that in 59029b9e, we were just fixing existing lattice values
      and that too, only for uses of extractelement.
      
      Reviewers: reames, skatkov, dantrushin
      
      Reviewed By: skatkov
      
      Subscribers: hiraditya, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D76305
      eb282be9
    • Ehud Katz's avatar
      Revert "[StructurizeCFG] Fix region nodes ordering" · c6c26552
      Ehud Katz authored
      This reverts commit 897d8ee5,
      due to causing an infinite loop when encountering a loop with
      a sub-region with an inner loop.
      c6c26552
    • Anna Thomas's avatar
      Revert "[RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer" · f20c6274
      Anna Thomas authored
      This reverts commit bb308b02.
      Failing a testcase.
      f20c6274
    • Anna Thomas's avatar
      [RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer · bb308b02
      Anna Thomas authored
      Summary:
      This is a more general fix to 59029b9e (D75704).
      This patch does the following:
      1. updates isKnownBaseValue to account for base pointer and
      derived pointer having differing types.
      2. This inturn allows us to populate the
      lattice (States) for such derived pointers.
      3. It also updates all states where the base and derived pointers have
      differing types (vector versus scalar) and conservatively marks these
      states as conflictcs.
      Note that in 59029b9e, we were just fixing existing lattice values
      and that too, only for uses of extractelement.
      
      Reviewers: reames, skatkov, dantrushin
      
      Reviewed By: skatkov
      
      Subscribers: hiraditya, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D76305
      bb308b02
    • Florian Hahn's avatar
      [VPlan] Move emission of \\l\"+\n to dumpBasicBlock (NFC). · 4c8285c7
      Florian Hahn authored
      The patch standardizes printing of VPRecipes a bit, by hoisting out the
      common emission of \\l\"+\n. It simplifies the code and is also a first
      step towards untangling printing from DOT format output, with the goal
      of making the DOT output optional and to provide a more concise debug
      output if DOT output is disabled.
      
      Reviewers: gilr, Ayal, rengolin
      
      Reviewed By: gilr
      
      Differential Revision: https://reviews.llvm.org/D78883
      4c8285c7
    • Omar Ahmed's avatar
      [Attributor] Improve the alignment of the loads · 425333c2
      Omar Ahmed authored
      This patch introduces an improvement in the Alignment of the loads
      generated in createReplacementValues() by querying AAAlign attribute for
      the best Alignment for the base.
      
      Reviewed By: jdoerfert
      
      Differential Revision: https://reviews.llvm.org/D76550
      425333c2
  3. May 13, 2020
  4. May 12, 2020
  5. May 11, 2020
Loading