Skip to content
  1. May 23, 2018
  2. Aug 19, 2017
    • Tobias Grosser's avatar
      [GPGPU] Correctly initialize array order and fixed_element information · ecb94a03
      Tobias Grosser authored
      Summary:
      This information is necessary for PPCG to perform correct life range reordering.
      With these changes applied we can live-range reorder some of the important
      kernels in COSMO.
      
      We also update and rename one test case, which previously could not be optimized
      and now is optimized thanks to live-range reordering. To preserve test coverage
      we add a new test case scalar-writes-in-scop-requires-abort.ll, which exercises
      our automatic abort in case of scalar writes in the kernel.
      
      Reviewers: Meinersbur, bollu, singam-sanjay
      
      Subscribers: nemanjai, pollydev, llvm-commits, kbarton
      
      Tags: #polly
      
      Differential Revision: https://reviews.llvm.org/D36929
      
      llvm-svn: 311259
      ecb94a03
  3. Jul 14, 2017
    • Siddharth Bhat's avatar
      [PPCGCodeGeneration] Fix runtime check adjustments since they make assumptions about BB layout. · 03346c27
      Siddharth Bhat authored
      - There is a conditional branch that is used to switch between the old
         and new versions of the code.
      
      - If we detect that the build was unsuccessful, `PPCGCodeGeneration` will
        change the runtime check to be always set to false.
      
      - To actually *reach* this runtime check instruction, `PPCGCodeGeneration`
        was using assumptions about the layout of the BBs.
      
      - However, invariant load hoisting violates this assumption by inserting
        an extra basic block in the middle.
      
      - Fix the assumption on the layout by having `createScopConditionally`
         return the conditional branch instruction.
      
      - Use this reference to set to always-false.
      
      llvm-svn: 308010
      03346c27
Loading