Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | AMDGPU: Report extractelement as free in cost model | Matt Arsenault | 2015-12-01 | 1 | -0/+2 | |
| | | | | | | | | | | | | The cost for scalarized operations is computed as N * (scalar operation cost + 1 extractelement + 1 insertelement). This partially fixes inflating the cost of scalarized operations since every operation is scalarized and free. I don't think we want any cost asociated with scalarization, but for now insertelement is still counted. I'm not sure if we should pretend that insertelement is also free, or add a way to compute a custom scalarization cost. llvm-svn: 254438 | |||||
* | Make TargetTransformInfo keeping a reference to the Module DataLayout | Mehdi Amini | 2015-07-09 | 1 | -14/+3 | |
| | | | | | | | | | | | | | | | | | | | | DataLayout is no longer optional. It was initialized with or without a DataLayout, and the DataLayout when supplied could have been the one from the TargetMachine. Summary: This change is part of a series of commits dedicated to have a single DataLayout during compilation by using always the one owned by the module. Reviewers: echristo Subscribers: jholewinski, llvm-commits, rafael, yaron.keren Differential Revision: http://reviews.llvm.org/D11021 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 241774 | |||||
* | R600 -> AMDGPU rename | Tom Stellard | 2015-06-13 | 1 | -0/+78 | |
llvm-svn: 239657 |