[PATCH] D29864: Update Kaleidoscope tutorial and improve Windows support

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 11 17:38:03 PST 2017


chapuni added a comment.

I wish if this patch were split to;

- Documentation fixes
- Tweaks for current implementation
- Win32 changes

(I don't know how to process multiple patchset on phab in better way, though)



================
Comment at: llvm/trunk/examples/Kaleidoscope/Chapter7/toy.cpp:1119
+  // Promote allocas to registers.
+  TheFPM->add(createPromoteMemoryToRegisterPass());
   // Do simple "peephole" optimizations and bit-twiddling optzns.
----------------
It requires TransformUtils. Fixed in r294881.


Repository:
  rL LLVM

https://reviews.llvm.org/D29864





More information about the llvm-commits mailing list