[all-commits] [llvm/llvm-project] 6ad4ed: [VecLib] Fix: Restore DebugFlag state in ReplaceWi...

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Tue Jan 23 07:57:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ad4ed5f1dd0a8160cd3c7b75e63a0e2f6061b5b
      https://github.com/llvm/llvm-project/commit/6ad4ed5f1dd0a8160cd3c7b75e63a0e2f6061b5b
  Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M llvm/unittests/Analysis/ReplaceWithVecLibTest.cpp

  Log Message:
  -----------
  [VecLib] Fix: Restore DebugFlag state in ReplaceWithVecLibTest (#78989)

It appears that Google Tests run multiple modules from the same
invocation.
As a result setting `llvm::DebugFlag` in this pass kept it on in
subsequent passes, which is not the expected behavior.




More information about the All-commits mailing list