[PATCH] D24451: [LoopUnroller] Replace UnrollingPreferences::Force with ForceMaxCount + SystemZ getUnrollingPreferences().

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 04:38:02 PDT 2016


jonpa updated this revision to Diff 72459.
jonpa added a comment.

Per Uli's suggestions, I have now tried an alternate approach of introducing a different change to the common code. Instead of the ForceMaxCount, the DefaultUnrollRuntimeCount value is moved into UnrollingPreferences. This way, SystemZ can set this to 4 instead of 8, which has been shown as good as the earlier version on the benchmarks.


https://reviews.llvm.org/D24451

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  lib/Target/SystemZ/SystemZTargetTransformInfo.h
  lib/Transforms/Scalar/LoopUnrollPass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24451.72459.patch
Type: text/x-patch
Size: 5382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160926/0b902114/attachment.bin>


More information about the llvm-commits mailing list