[LLVM][TextAPI] Refactor Redundant Condition (#86542)

Fixes #83241

---------

Signed-off-by: Troy-Butler <squintik@outlook.com>
Co-authored-by: Troy-Butler <squintik@outlook.com>
GitOrigin-RevId: e6e931960b917e3a37f059a75d476966f572f787
1 file changed