[PATCH] D74534: [Float2Int] Make iteration over Roots deterministic
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 12:59:59 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e7e414ec943: [Float2Int] Make iteration over Roots deterministic (authored by bjope).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74534/new/
https://reviews.llvm.org/D74534
Files:
llvm/include/llvm/Transforms/Scalar/Float2Int.h
Index: llvm/include/llvm/Transforms/Scalar/Float2Int.h
===================================================================
--- llvm/include/llvm/Transforms/Scalar/Float2Int.h
+++ llvm/include/llvm/Transforms/Scalar/Float2Int.h
@@ -16,6 +16,7 @@
#include "llvm/ADT/EquivalenceClasses.h"
#include "llvm/ADT/MapVector.h"
+#include "llvm/ADT/SetVector.h"
#include "llvm/IR/ConstantRange.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
@@ -42,7 +43,7 @@
void cleanup();
MapVector<Instruction *, ConstantRange> SeenInsts;
- SmallPtrSet<Instruction *, 8> Roots;
+ SmallSetVector<Instruction *, 8> Roots;
EquivalenceClasses<Instruction *> ECs;
MapVector<Instruction *, Value *> ConvertedInsts;
LLVMContext *Ctx;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74534.258406.patch
Type: text/x-patch
Size: 747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200417/cb6661e3/attachment.bin>
More information about the llvm-commits
mailing list