[all-commits] [llvm/llvm-project] 220e82: [IR][NFC] Avoid unneccessary move of analysis resu...
Alexis Engelke via All-commits
all-commits at lists.llvm.org
Sat Jul 18 13:42:04 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 220e8277d3ad300c094447d214f0a5a122435196
https://github.com/llvm/llvm-project/commit/220e8277d3ad300c094447d214f0a5a122435196
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2026-07-18 (Sat, 18 Jul 2026)
Changed paths:
M llvm/include/llvm/IR/PassManagerInternal.h
M llvm/unittests/IR/PassManagerTest.cpp
Log Message:
-----------
[IR][NFC] Avoid unneccessary move of analysis results (#210540)
While benchmarking CycleAnalysis, I noticed that each analysis result is
constructed on the stack first and then moved to its final place on the
heap. This is unnecessary -- directly construct the analysis result in
its final place. Consequently, analysis results can be immovable.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list