[PATCH] D11855: SelectionDAG: Prefer to combine multiplication with less uses for fma
Justin Holewinski via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 11:35:17 PDT 2015
jholewinski added inline comments.
================
Comment at: test/CodeGen/NVPTX/fma-assoc.ll:27
@@ +26,3 @@
+
+define double @two_choices(double %val1, double %val2) {
+; CHECK-LABEL: .visible .entry two_choices
----------------
jingyue wrote:
> Actually, the metadata is unnecessary too. Without nvvm.annotations, all functions are treated as device functions by llc.
Hrm, this should give an error during compilation. Entry functions are not allowed to return values.
http://reviews.llvm.org/D11855
More information about the llvm-commits
mailing list