[all-commits] [llvm/llvm-project] a34db9: [AMDGPU][NFC] Simplify needcopysign logic (#75176)
Jakub Chlanda via All-commits
all-commits at lists.llvm.org
Mon Dec 18 03:07:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a34db9bdefe6d60b46f485aa1105ef6c95542e16
https://github.com/llvm/llvm-project/commit/a34db9bdefe6d60b46f485aa1105ef6c95542e16
Author: Jakub Chlanda <jakub at codeplay.com>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
Log Message:
-----------
[AMDGPU][NFC] Simplify needcopysign logic (#75176)
This was caught by coverity, reported as: `dead_error_condition`.
Since the conditional revolves around `CF`, it is guaranteed to be null
in the else clause, hence making the second part of the statement
redundant.
More information about the All-commits
mailing list