From abdbc57abb2e2d0df4145d7abb06883a33512684 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 29 May 2009 05:31:40 +0000 Subject: [PATCH] Default isNarrowingProfitable to false. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72561 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetLowering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index dc66e55a1ff..163f4c5ae50 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1424,7 +1424,7 @@ public: /// 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; } //===--------------------------------------------------------------------===//