[PATCH] Refactor code for adding runtime checks in vectorizer.

David Majnemer david.majnemer at gmail.com
Tue Apr 28 17:15:46 PDT 2015


Any reason we can't use the IRBuilder instead of `BranchInst::Create`?

A side effect is that it would make it a little easier to make:

  br i1 true, label %scalar.ph, label %overflow.checked

simply:

  br label %scalar.ph

by specializing the builder's `CreateCondBr` to "Do the Right Thing (TM)" when given a constant condition.


http://reviews.llvm.org/D9332

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list