[all-commits] [llvm/llvm-project] dc7bdc: [LV] Fix determinism for failing scalable-call.ll ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Thu Jul 15 05:18:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc7bdc1e7121693df112f2fdb11cc6b88580ba4b
      https://github.com/llvm/llvm-project/commit/dc7bdc1e7121693df112f2fdb11cc6b88580ba4b
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll

  Log Message:
  -----------
  [LV] Fix determinism for failing scalable-call.ll test.

The sort function for emitting an OptRemark was not deterministic,
which caused scalable-call.ll to fail on some buildbots. This patch
fixes that.

This patch also fixes an issue where `Instruction::comesBefore()`
is called when two Instructions are in different basic blocks,
which would otherwise cause an assertion failure.




More information about the All-commits mailing list