diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-05-29 05:31:40 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-05-29 05:31:40 +0000 |
commit | abdbc57abb2e2d0df4145d7abb06883a33512684 (patch) | |
tree | 3361bd953a2f8880bec3a3d37e588ad3e93e66c4 | |
parent | 8e610a7784eb5f21a94b05f8b41db035f77278ba (diff) |
Default isNarrowingProfitable to false.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72561 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index dc66e55a1f..163f4c5ae5 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; } //===--------------------------------------------------------------------===// |