Skip to content

Commit 21caf5b

Browse files
committed
Remove check for isOsDarwin()
1 parent a939eb6 commit 21caf5b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7438,10 +7438,6 @@ static bool getGatherPattern(MachineInstr &Root,
74387438
/// by loading into 2 Neon registers instead.
74397439
static bool getLoadPatterns(MachineInstr &Root,
74407440
SmallVectorImpl<unsigned> &Patterns) {
7441-
// Enable this only on Darwin targets, where it should be profitable. Other
7442-
// targets can remove this check if it is profitable there as well.
7443-
if (!Root.getMF()->getTarget().getTargetTriple().isOSDarwin())
7444-
return false;
74457441

74467442
// The pattern searches for loads into single lanes.
74477443
switch (Root.getOpcode()) {

0 commit comments

Comments
 (0)