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 @@ -13292,7 +13292,7 @@ bool AArch64TargetLowering::
13292
13292
bool AArch64TargetLowering::shouldExpandShift(SelectionDAG &DAG,
13293
13293
SDNode *N) const {
13294
13294
if (DAG.getMachineFunction().getFunction().hasMinSize() &&
13295
- !Subtarget->isTargetWindows())
13295
+ !Subtarget->isTargetWindows() && !Subtarget->isTargetDarwin() )
13296
13296
return false;
13297
13297
return true;
13298
13298
}
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