[all-commits] [llvm/llvm-project] f96271: [VecLib] Fix: Restore llvm::DebugFlag state after ...

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Mon Jan 22 06:57:59 PST 2024


  Branch: refs/heads/users/paschalis-mpeis/fix-replace-veclib-test-llvm-debug-flag
  Home:   https://github.com/llvm/llvm-project
  Commit: f96271ce83d7574e44d7a38f2ea05ab840d0d166
      https://github.com/llvm/llvm-project/commit/f96271ce83d7574e44d7a38f2ea05ab840d0d166
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

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

  Log Message:
  -----------
  [VecLib] Fix: Restore llvm::DebugFlag state after test.

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