[PATCH] D82555: [AMDGPU][NFC] Remove redundant condition
Balogh, Ádám via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 00:29:55 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG71c6a36018dd: [AMDGPU][NFC] Remove redundant condition (authored by baloghadamsoftware).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82555/new/
https://reviews.llvm.org/D82555
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Index: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+++ llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -3775,7 +3775,7 @@
}
if (isVOP3(MI) && LiteralCount) {
- if (LiteralCount && !ST.hasVOP3Literal()) {
+ if (!ST.hasVOP3Literal()) {
ErrInfo = "VOP3 instruction uses literal";
return false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82555.274694.patch
Type: text/x-patch
Size: 440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/edec2e9f/attachment.bin>
More information about the llvm-commits
mailing list