[all-commits] [llvm/llvm-project] 7451bf: [SLP] use std::distance/find to reduce code; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Mon Sep 21 13:23:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7451bf0b0b6d77e9c39408aeedfa3fa90107fe7a
      https://github.com/llvm/llvm-project/commit/7451bf0b0b6d77e9c39408aeedfa3fa90107fe7a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] use std::distance/find to reduce code; NFC

We were already using this code pattern right after
the loop, so this makes it consistent.




More information about the All-commits mailing list