summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FixupBWInsts.cpp
diff options
context:
space:
mode:
authorKevin B. Smith <kevin.b.smith@intel.com>2016-04-08 18:58:29 +0000
committerKevin B. Smith <kevin.b.smith@intel.com>2016-04-08 18:58:29 +0000
commite0a6fc3bcc597d9f0eaae03dc834edd23a28b99a (patch)
tree7cd2635fa58e00c43ef4a2b65b257e6fc29e0277 /llvm/lib/Target/X86/X86FixupBWInsts.cpp
parentc4a2134f2639127675463e89271eaa8ac3a2d222 (diff)
downloadbcm5719-llvm-e0a6fc3bcc597d9f0eaae03dc834edd23a28b99a.tar.gz
bcm5719-llvm-e0a6fc3bcc597d9f0eaae03dc834edd23a28b99a.zip
[X86] Fix PR23155 by turning on X86FixupBWInsts by default.
Differential Revision: http://reviews.llvm.org/D18866 llvm-svn: 265830
Diffstat (limited to 'llvm/lib/Target/X86/X86FixupBWInsts.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FixupBWInsts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FixupBWInsts.cpp b/llvm/lib/Target/X86/X86FixupBWInsts.cpp
index 68ac0979270..1f8a4406add 100644
--- a/llvm/lib/Target/X86/X86FixupBWInsts.cpp
+++ b/llvm/lib/Target/X86/X86FixupBWInsts.cpp
@@ -68,7 +68,7 @@ using namespace llvm;
static cl::opt<bool>
FixupBWInsts("fixup-byte-word-insts",
cl::desc("Change byte and word instructions to larger sizes"),
- cl::init(false), cl::Hidden);
+ cl::init(true), cl::Hidden);
namespace {
class FixupBWInstPass : public MachineFunctionPass {
OpenPOWER on IntegriCloud