SuccessChanges

Summary

  1. [Attributor] Add "free"-based heap2stack deduction (details)
  2. [libomptarget] Change nvcc compilation to use a unity build (details)
Commit 0be9cf2da9c1400eea720f0c6bead3df07c98a9c by johannes
[Attributor] Add "free"-based heap2stack deduction
Summary: If there is a unique free of the allocated that has to be
reached from the malloc, we can apply the heap-2-stack transformation
even if the pointer escapes.
Reviewers: hfinkel, sstefan1, uenoku
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68958
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Analysis/MustExecute.h
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/heap_to_stack.ll
Commit e9f9dfab82bbaadc6b6d8d0eafba017ef5d94fd0 by jonchesterfield
[libomptarget] Change nvcc compilation to use a unity build
Summary:
[libomptarget] Change nvcc compilation to use a unity build
This allows nvcc to inline functions between what would otherwise be
distinct translation units, which in turn removes any runtime cost from
implementing functions in source files (as opposed to inline in
headers).
This will then allow the circular dependencies in deviceRTL to be
readily broken and individual components more easily shared between
architectures.
Reviewers: ABataev, jdoerfert, grokos, RaviNarayanaswamy, hfinkel,
ronlieb, gregrodgers
Reviewed By: jdoerfert
Subscribers: mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D69489
The file was addedopenmp/libomptarget/deviceRTLs/nvptx/unity.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt