[all-commits] [llvm/llvm-project] 38c385: [NFC] Remove unused argument (FuncName) for parseM...
Kyungwoo Lee via All-commits
all-commits at lists.llvm.org
Mon Aug 26 19:19:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38c3855c9f7d2bc9a509f05b504ee582d271a991
https://github.com/llvm/llvm-project/commit/38c3855c9f7d2bc9a509f05b504ee582d271a991
Author: Kyungwoo Lee <kyulee at meta.com>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M llvm/unittests/CodeGen/GlobalISel/GISelMITest.h
M llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
M llvm/unittests/MI/LiveIntervalTest.cpp
M llvm/unittests/MIR/MachineMetadata.cpp
M llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
Log Message:
-----------
[NFC] Remove unused argument (FuncName) for parseMIR (#106144)
While working on a MIR unittest, I noticed that parseMIR includes an
unused argument that sets a function name. This is not only redundant
but also irrelevant, as parseMIR is designed to parse entire module, not
specific functions, even though most unittests contain a single function
per module. To streamline the API, I have removed this unnecessary
argument from parseMIR. However, if this argument was originally
included to enhance readability or for any other purpose, please let me
know.
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