Skip to content

Commit 80ef01c

Browse files
committed
[AArch64][GlobalISel] Removed fallback for urshl/srshl intrinsics with <1 x i64> operands
GISel now places urshl/srshl operands on floating point registers. Generated code is slightly less efficient compare to SDAG.
1 parent 53c3c4b commit 80ef01c

File tree

3 files changed

+220
-123
lines changed

3 files changed

+220
-123
lines changed

llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@ static bool isFPIntrinsic(const MachineRegisterInfo &MRI,
483483
case Intrinsic::aarch64_neon_sqadd:
484484
case Intrinsic::aarch64_neon_sqsub:
485485
case Intrinsic::aarch64_crypto_sha1h:
486+
case Intrinsic::aarch64_neon_srshl:
487+
case Intrinsic::aarch64_neon_urshl:
486488
case Intrinsic::aarch64_neon_sqshl:
487489
case Intrinsic::aarch64_neon_uqshl:
488490
case Intrinsic::aarch64_neon_sqrshl:

0 commit comments

Comments
 (0)