[all-commits] [llvm/llvm-project] 279d74: [InstSimplify] Fix unused variable warning (NFC)
nullptr-cpp via All-commits
all-commits at lists.llvm.org
Tue Mar 23 18:57:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 279d74ffd1988ca607c2f49d617456fd5805a1e2
https://github.com/llvm/llvm-project/commit/279d74ffd1988ca607c2f49d617456fd5805a1e2
Author: Yang Fan <nullptr.cpp at gmail.com>
Date: 2021-03-24 (Wed, 24 Mar 2021)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
Log Message:
-----------
[InstSimplify] Fix unused variable warning (NFC)
GCC warning:
```
/llvm-project/llvm/lib/Analysis/InstructionSimplify.cpp: In function ‘llvm::Value* SimplifyWithOpReplaced(llvm::Value*, llvm::Value*, llvm::Value*, const llvm::SimplifyQuery&, bool, unsigned int)’:
/llvm-project/llvm/lib/Analysis/InstructionSimplify.cpp:3993:15: warning: unused variable ‘SI’ [-Wunused-variable]
3993 | if (auto *SI = dyn_cast<SelectInst>(I))
| ^~
```
More information about the All-commits
mailing list