[PATCH] D88570: [SDag] SimplifyDemandedBits: simplify to FP constant if all bits known
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 23:56:27 PDT 2020
dmgreen added inline comments.
================
Comment at: llvm/test/CodeGen/ARM/fcopysign.ll:98-100
+; HARD-NEXT: vmov.i32 d18, #0x3f000000
+; HARD-NEXT: vorr d1, d17, d17
+; HARD-NEXT: vbsl d1, d16, d18
----------------
foad wrote:
> I'm not an ARM expert but this slight regression looks like it's just bad luck in the register allocator. If the vmov went into d1 then we could use vbit instead of vorr+vbsl.
Yeah this can happen... It's a bit of a shame but doesn't look like the fault of this patch, exactly. BSL/BIT/BIF are selected best-effort using a pseudo.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88570/new/
https://reviews.llvm.org/D88570
More information about the llvm-commits
mailing list