This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git. Pull mirroring updated .
  1. 24 Jan, 2020 1 commit
  2. 30 Aug, 2018 1 commit
  3. 13 Jul, 2018 1 commit
    • Tim Renouf's avatar
      DivergenceAnalysis: added debug output · f3d82951
      Tim Renouf authored
      Summary:
      This commit does two things:
      
      1. modified the existing DivergenceAnalysis::dump() so it dumps the
         whole function with added DIVERGENT: annotations;
      
      2. added code to do that dump if the appropriate -debug-only option is
         on.
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D47700
      
      Change-Id: Id97b605aab1fc6f5a11a20c58a99bbe8c565bf83
      llvm-svn: 336998
      f3d82951
  4. 14 Apr, 2016 1 commit
    • Nicolai Haehnle's avatar
      [DivergenceAnalysis] Treat PHI with incoming undef as constant · 13d90f32
      Nicolai Haehnle authored
      Summary:
      If a PHI has an incoming undef, we can pretend that it is equal to one
      non-undef, non-self incoming value.
      
      This is particularly relevant in combination with the StructurizeCFG
      pass, which introduces PHI nodes with undefs. Previously, this lead to
      branch conditions that were uniform before StructurizeCFG to become
      non-uniform afterwards, which confused the SIAnnotateControlFlow
      pass.
      
      This fixes a crash when Mesa radeonsi compiles a shader from
      dEQP-GLES3.functional.shaders.switch.switch_in_for_loop_dynamic_vertex
      
      Reviewers: arsenm, tstellarAMD, jingyue
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D19013
      
      llvm-svn: 266347
      13d90f32