[PATCH] D61419: Support FNeg constant folding
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 2 04:01:02 PDT 2019
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/X86/fp-fold.ll:226-242
+
+define float @fneg_undef() {
+; ANY-LABEL: fneg_undef:
+; ANY: # %bb.0:
+; ANY-NEXT: retq
+ %r = fneg float undef
+ ret float %r
----------------
These tests don't really belong in codegen (same for the vector cases).
Can you also add a test with some weird constant expressions as a source?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61419/new/
https://reviews.llvm.org/D61419
More information about the llvm-commits
mailing list