[all-commits] [llvm/llvm-project] 08de65: [LV] Return debug loc directly from getDebugLocFro...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Sep 8 08:30:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08de6508ab6af53779d2daf276295473c5b0906e
https://github.com/llvm/llvm-project/commit/08de6508ab6af53779d2daf276295473c5b0906e
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Return debug loc directly from getDebugLocFromInstrOrOps (NFCI)
The return value of the function is only used to get the debug location.
Directly return the debug location, as this avoids an extra null
check in the caller.
More information about the All-commits
mailing list