mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
f15b696b79
Summary: CUDA driver can unroll loops when jit-compiling PTX. To prevent CUDA driver from unrolling a loop marked with llvm.loop.unroll.disable is not unrolled by CUDA driver, we need to emit .pragma "nounroll" at the header of that loop. This patch also extracts getting unroll metadata from loop ID metadata into a shared helper function. Test Plan: test/CodeGen/NVPTX/nounroll.ll Reviewers: eliben, meheff, jholewinski Reviewed By: jholewinski Subscribers: jholewinski, llvm-commits Differential Revision: http://reviews.llvm.org/D7041 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227703 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
ASanStackFrameLayout.h | ||
BasicBlockUtils.h | ||
BuildLibCalls.h | ||
BypassSlowDivision.h | ||
Cloning.h | ||
CmpInstAnalysis.h | ||
CodeExtractor.h | ||
CtorUtils.h | ||
GlobalStatus.h | ||
IntegerDivision.h | ||
Local.h | ||
LoopUtils.h | ||
ModuleUtils.h | ||
PromoteMemToReg.h | ||
SimplifyIndVar.h | ||
SimplifyLibCalls.h | ||
SSAUpdater.h | ||
SSAUpdaterImpl.h | ||
SymbolRewriter.h | ||
UnifyFunctionExitNodes.h | ||
UnrollLoop.h | ||
ValueMapper.h | ||
VectorUtils.h |