Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit ca067f1

Browse files
committed
relooper update
1 parent 869c814 commit ca067f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Target/JSBackend/Relooper.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
typedef std::string ministring;
1818
#endif
1919

20+
// uncomment these out to get LLVM errs() debugging support
21+
//#include <llvm/Support/raw_ostream.h>
22+
//using namespace llvm;
23+
2024
template <class T, class U> static bool contains(const T& container, const U& contained) {
2125
return container.count(contained);
2226
}
@@ -202,6 +206,7 @@ void Block::Render(bool InLoop) {
202206
if (Fused) {
203207
PrintDebug("Fusing Multiple to Simple\n");
204208
Parent->Next = Parent->Next->Next;
209+
Fused->UseSwitch = false; // TODO: emit switches here
205210
Fused->RenderLoopPrefix();
206211

207212
// When the Multiple has the same number of groups as we have branches,

0 commit comments

Comments
 (0)