[PATCH] D11855: SelectionDAG: Prefer to combine multiplication with less uses for fma

Jingyue Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 11:23:22 PDT 2015


jingyue 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
----------------
Actually, the metadata is unnecessary too. Without nvvm.annotations, all functions are treated as device functions by llc. 


http://reviews.llvm.org/D11855





More information about the llvm-commits mailing list