diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-06-03 18:41:34 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-06-03 18:41:34 +0000 |
commit | 8dbeb9256cb60fe551fdcbd40580589ffce59e37 (patch) | |
tree | a472f6f29858ad482372fcf2d8548c798e0a1003 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | bf37536a351a2db55efe830437866010ae050eea (diff) | |
download | llvm-8dbeb9256cb60fe551fdcbd40580589ffce59e37.zip llvm-8dbeb9256cb60fe551fdcbd40580589ffce59e37.tar.gz llvm-8dbeb9256cb60fe551fdcbd40580589ffce59e37.tar.bz2 |
TTI: Improve default costs for addrspacecast
For some reason multiple places need to do this, and the variant the
loop unroller and inliner use was not handling it.
Also, introduce a new wrapper to be slightly more precise, since on
AMDGPU some addrspacecasts are free, but not no-ops.
llvm-svn: 362436
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions