1. Jan 29, 2020
  2. Jan 28, 2020
  3. Jan 29, 2020
  4. Jan 28, 2020
  5. Jan 29, 2020
    • Florian Hahn's avatar
      [Matrix] Mark expressions shared between multiple remarks. · 5d0ffbeb
      Florian Hahn authored
      This patch adds support for explicitly highlighting sub-expressions
      shared by multiple leaf nodes. For example consider the following
      code
      
        %shared.load = tail call <8 x double> @llvm.matrix.columnwise.load.v8f64.p0f64(double* %arg1, i32 %stride, i32 2, i32 4), !dbg !10, !noalias !10
        %trans = tail call <8 x double> @llvm.matrix.transpose.v8f64(<8 x double> %shared.load, i32 2, i32 4), !dbg !10
        tail call void @llvm.matrix.columnwise.store.v8f64.p0f64(<8 x double> %trans, double* %arg3, i32 10, i32 4, i32 2), !dbg !10
        %load.2 = tail call <30 x double> @llvm.matrix.columnwise.load.v30f64.p0f64(double* %arg3, i32 %stride, i32 2, i32 15), !dbg !10, !noalias !10
        %mult = tail call <60 x double> @llvm.matrix.multiply.v60f64.v8f64.v30f64(<8 x double> %trans, <30 x double> %load.2, i32 4, i32 2, i32 15), !dbg !11
        tail call void @llvm.matrix.columnwise.store.v60f64.p0f64(<60 x double> %mult, double* %arg2, i32 10, i32 4, i32 15), !dbg !11
      
      We have two leaf nodes (the 2 stores) and the first store stores %trans
      which is also used by the matrix multiply %mult. We generate separate
      remarks for each leaf (stores). To denote that parts are shared, the
      shared expressions are marked as shared (), with a reference to the
      other remark that shares it. The operation summary also denotes the
      shared operations separately.
      
      Reviewers: anemet, Gerolf, thegameg, hfinkel, andrew.w.kaylor, LuoYuanke
      
      Reviewed By: anemet
      
      Differential Revision: https://reviews.llvm.org/D72526
      5d0ffbeb
    • Med Ismail Bennani's avatar
      [lldb/Target] Add Assert StackFrame Recognizer · 03a6b858
      Med Ismail Bennani authored
      When a thread stops, this checks depending on the platform if the top frame is
      an abort stack frame. If so, it looks for an assert stack frame in the upper
      frames and set it as the most relavant frame when found.
      
      To do so, the StackFrameRecognizer class holds a "Most Relevant Frame" and a
      "cooked" stop reason description. When the thread is about to stop, it checks
      if the current frame is recognized, and if so, it fetches the recognized frame's
      attributes and applies them.
      
      rdar://58528686
      
      Differential Revision: https://reviews.llvm.org/D73303
      
      
      
      Signed-off-by: default avatarMed Ismail Bennani <medismail.bennani@gmail.com>
      03a6b858
    • Jonathan Roelofs's avatar
      7f93ff58
    • Florian Hahn's avatar
      [LV] Hoist code to mark conditional assumes as dead to caller (NFC). · d1f849a2
      Florian Hahn authored
      This is a follow-up suggested in D73423. It is sufficient to just add
      the conditional assumes to DeadInstructions once.
      d1f849a2
  6. Jan 28, 2020
  7. Jan 29, 2020
  8. Jan 28, 2020