Skip to content

Commit 0f48f11

Browse files
committed
IRGen: treat thumb as ARM
Targets may be canonicalised to thumb* rather than arm*. The target is an overlapping ISA, and should be treated similarly.
1 parent bf25f8d commit 0f48f11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/IRGen/SwiftTargetInfo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ SwiftTargetInfo SwiftTargetInfo::get(IRGenModule &IGM) {
158158
break;
159159

160160
case llvm::Triple::arm:
161+
case llvm::Triple::thumb:
161162
configureARM(IGM, triple, target);
162163
break;
163164

0 commit comments

Comments
 (0)