[PATCH] D99674: [InstCombine] Conditionally fold select i1 into and/or
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 10:40:49 PDT 2021
aqjune added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/and-fcmp.ll:79
-; CHECK-NEXT: [[TMP1:%.*]] = fcmp ninf ord float [[D:%.*]], [[C:%.*]]
-; CHECK-NEXT: [[R:%.*]] = and i1 [[TMP1]], [[Z:%.*]]
; CHECK-NEXT: ret i1 [[R]]
----------------
This optimization can be supported by inserting freeze again.
If this patch is accepted, I'll record this as a regression at bugzilla and make a patch then.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99674/new/
https://reviews.llvm.org/D99674
More information about the llvm-commits
mailing list