File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -17958,7 +17958,8 @@ bool ARMTargetLowering::isCheapToSpeculateCtlz() const {
1795817958}
1795917959
1796017960bool ARMTargetLowering::shouldExpandShift(SelectionDAG &DAG, SDNode *N) const {
17961- return !Subtarget->hasMinSize() || Subtarget->isTargetWindows();
17961+ return !Subtarget->hasMinSize() || Subtarget->isTargetWindows() ||
17962+ Subtarget->isTargetDarwin();
1796217963}
1796317964
1796417965Value *ARMTargetLowering::emitLoadLinked(IRBuilder<> &Builder, Value *Addr,
Original file line number Diff line number Diff line change 11; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
22; RUN: llc -mtriple=thumbv7-windows %s -o - | FileCheck %s -check-prefix=CHECK-WIN
3+ ; RUN: llc < %s -mtriple=aarch64-apple-darwin | FileCheck %s -check-prefix=CHECK-DARWIN
34
45; The Windows runtime doesn't have these.
56; CHECK-WIN-NOT: __ashldi3
67; CHECK-WIN-NOT: __ashrdi3
78; CHECK-WIN-NOT: __lshrdi3
89
10+ ; Darwin compiler-rt excludes these.
11+ ; CHECK-DARWIN-NOT: __ashlti3
12+ ; CHECK-DARWIN-NOT: __ashrti3
13+
914define i64 @f0 (i64 %val , i64 %amt ) minsize optsize {
1015; CHECK-LABEL: f0:
1116; CHECK: bl __aeabi_llsl
You can’t perform that action at this time.
0 commit comments