[PATCH] D96605: AMDGPU/GlobalISel: Remove redundant G_FCANONICALIZE
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 07:14:04 PST 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp:258
+
+void AMDGPUPostLegalizerCombinerHelper::applyRemoveFcanonicalize(
+ MachineInstr &MI) {
----------------
You can use standard replaceSingleDefInstWithOperand or replaceSingleDefInstWithReg instead of defining your own apply function.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96605/new/
https://reviews.llvm.org/D96605
More information about the llvm-commits
mailing list