kito-cheng wrote:
Chagnes:
- Use result of getLibFunc to if condition directly, e.g.
```diff
if (LibFunc LF = getLibFunc(AttrStr); LF != NotLibFunc)
if (LibFunc LF = getLibFunc(AttrStr))
```
https://github.com/llvm/llvm-project/pull/217561