[PATCH] D106233: [InstCombine] Add freezeAllUsesOfArgument to visitFreeze
Hyeongyu Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 04:07:34 PDT 2021
hyeongyukim added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/freeze.ll:46
; CHECK-LABEL: @or_freeze_undef(
-; CHECK-NEXT: ret i32 -1
+; CHECK-NEXT: ret i32 [[X:%.*]]
;
----------------
If it returns x instead of -1, there is no problem with correctness.
But does this cause performance degradation?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106233/new/
https://reviews.llvm.org/D106233
More information about the llvm-commits
mailing list