[all-commits] [llvm/llvm-project] 08669f: [NFC][STLExtras] Add make_first_range(), similar t...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Fri Aug 28 23:58:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 08669fbb439d139e2a66d2ae120a4b5be4fb4f28
      https://github.com/llvm/llvm-project/commit/08669fbb439d139e2a66d2ae120a4b5be4fb4f28
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-08-29 (Sat, 29 Aug 2020)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h

  Log Message:
  -----------
  [NFC][STLExtras] Add make_first_range(), similar to existing make_second_range()

Having just one of the two seens weird.
I wanted to use it a few times, but it wasn't there.


  Commit: c1b3e32118adff13bf846e0aa8b0b3b4ec04a120
      https://github.com/llvm/llvm-project/commit/c1b3e32118adff13bf846e0aa8b0b3b4ec04a120
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-08-29 (Sat, 29 Aug 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/InstructionSimplify.h
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [NFC][InstructionSimplify] Add a warning about not simplifying to not def-reachable

See
https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20200824/824235.html
and
https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20200824/824967.html

InstSimply is not allowed to perform simplifications to instructions
that are not def-reachable from the original instruction.


Compare: https://github.com/llvm/llvm-project/compare/12e832cbcb62...c1b3e32118ad


More information about the All-commits mailing list