[PATCH] D16809: [JumpThreading] See through Cast Instructions

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 6 20:57:23 PST 2016


majnemer added a subscriber: majnemer.

================
Comment at: lib/Transforms/Scalar/JumpThreading.cpp:413
@@ -412,1 +412,3 @@
 
+  if (Instruction *I = dyn_cast<Instruction>(V))
+    if (Value *NewV = SimplifyInstruction(I, BB->getModule()->getDataLayout()))
----------------
Please use `auto *` for the left hand side of the assignment.


Repository:
  rL LLVM

http://reviews.llvm.org/D16809





More information about the llvm-commits mailing list