[PATCH] D55030: [AMDGPU] Fold brcond (setcc zext(i1 x), 1, ne) -> brcond x
Marek Olšák via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 28 17:04:43 PST 2018
mareko added inline comments.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:8664
+ if (OrigCC.getValueType() != MVT::i1)
+ return SDValue();
+
----------------
How do you know OrigCC is setcc? It could also be any bitwise op.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55030/new/
https://reviews.llvm.org/D55030
More information about the llvm-commits
mailing list