Index: src/IceTargetLoweringX86Base.h |
diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h |
index f4119f006c4ec5da15168726fa863a8ee9fa81f2..f35795b783dae8065b7cd1d0775fd9b36b00ac3e 100644 |
--- a/src/IceTargetLoweringX86Base.h |
+++ b/src/IceTargetLoweringX86Base.h |
@@ -469,7 +469,9 @@ protected: |
? nullptr |
: findMemoryReference(Args...)) { |
if (MemOperand != nullptr) { |
- Bundler = makeUnique<AutoBundle>(Target, BundleLockOpt); |
+ if (Traits::Is64Bit) { |
+ Bundler = makeUnique<AutoBundle>(Target, BundleLockOpt); |
+ } |
*MemOperand = Target->_sandbox_mem_reference(*MemOperand); |
} |
} |