aboutsummaryrefslogtreecommitdiff
path: root/devel/llvm12/files/patch-llvm_include_llvm_Analysis_TargetTransformInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/llvm12/files/patch-llvm_include_llvm_Analysis_TargetTransformInfo.h')
-rw-r--r--devel/llvm12/files/patch-llvm_include_llvm_Analysis_TargetTransformInfo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/llvm12/files/patch-llvm_include_llvm_Analysis_TargetTransformInfo.h b/devel/llvm12/files/patch-llvm_include_llvm_Analysis_TargetTransformInfo.h
new file mode 100644
index 000000000000..07cad777ea24
--- /dev/null
+++ b/devel/llvm12/files/patch-llvm_include_llvm_Analysis_TargetTransformInfo.h
@@ -0,0 +1,10 @@
+--- llvm/include/llvm/Analysis/TargetTransformInfo.h.orig 2021-06-28 16:23:38 UTC
++++ llvm/include/llvm/Analysis/TargetTransformInfo.h
+@@ -94,6 +94,7 @@ struct HardwareLoopInfo {
+ Loop *L = nullptr;
+ BasicBlock *ExitBlock = nullptr;
+ BranchInst *ExitBranch = nullptr;
++ const SCEV *ExitCount = nullptr;
+ const SCEV *TripCount = nullptr;
+ IntegerType *CountType = nullptr;
+ Value *LoopDecrement = nullptr; // Decrement the loop counter by this