[all-commits] [llvm/llvm-project] 5d7afe: [Scalarizer] visit{Insert, Extract}ElementInst(): a...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Mon Jul 6 03:43:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d7afe2d2e3c1a4715d022bfdb0c35df153e5430
      https://github.com/llvm/llvm-project/commit/5d7afe2d2e3c1a4715d022bfdb0c35df153e5430
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp

  Log Message:
  -----------
  [Scalarizer] visit{Insert,Extract}ElementInst(): avoid call arg evaluation order deps

Compilers may evaluate call arguments in different order,
which would result in different order of IR, which would break the tests.

Spotted thanks to Dmitri Gribenko!




More information about the All-commits mailing list