File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13102,7 +13102,7 @@ bool AArch64TargetLowering::
13102
13102
bool AArch64TargetLowering::shouldExpandShift(SelectionDAG &DAG,
13103
13103
SDNode *N) const {
13104
13104
if (DAG.getMachineFunction().getFunction().hasMinSize() &&
13105
- !Subtarget->isTargetWindows())
13105
+ !Subtarget->isTargetWindows() && !Subtarget->isTargetDarwin() )
13106
13106
return false;
13107
13107
return true;
13108
13108
}
Original file line number Diff line number Diff line change 1
1
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2
2
; RUN: llc < %s -mtriple=aarch64-unknown-unknown | FileCheck %s
3
3
; RUN: llc < %s -mtriple=aarch64-windows | FileCheck %s -check-prefix=CHECK-WIN
4
+ ; RUN: llc < %s -mtriple=aarch64-apple-darwin | FileCheck %s -check-prefix=CHECK-DARWIN
4
5
5
6
; The Windows runtime doesn't have these.
6
7
; CHECK-WIN-NOT: __ashlti3
7
8
; CHECK-WIN-NOT: __ashrti3
8
9
10
+ ; Darwin compiler-rt excludes these.
11
+ ; CHECK-DARWIN-NOT: __ashlti3
12
+ ; CHECK-DARWIN-NOT: __ashrti3
13
+
9
14
define i64 @f0 (i64 %val , i64 %amt ) minsize optsize {
10
15
; CHECK-LABEL: f0:
11
16
; CHECK: // %bb.0:
You can’t perform that action at this time.
0 commit comments