[llvm-commits] [llvm] r72561 - /llvm/trunk/include/llvm/Target/TargetLowering.h

Evan Cheng evan.cheng at apple.com
Thu May 28 22:31:41 PDT 2009


Author: evancheng
Date: Fri May 29 00:31:40 2009
New Revision: 72561

URL: http://llvm.org/viewvc/llvm-project?rev=72561&view=rev
Log:
Default isNarrowingProfitable to false.

Modified:
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=72561&r1=72560&r2=72561&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Fri May 29 00:31:40 2009
@@ -1424,7 +1424,7 @@
   /// operations of type VT1 to VT2. e.g. on x86, it's profitable to narrow
   /// from i32 to i8 but not from i32 to i16.
   virtual bool isNarrowingProfitable(MVT VT1, MVT VT2) const {
-    return true;
+    return false;
   }
 
   //===--------------------------------------------------------------------===//





More information about the llvm-commits mailing list