From 07da480614cd7ce3f105a153626a23f6888e503f Mon Sep 17 00:00:00 2001 From: Daniel Paoliello Date: Tue, 5 Aug 2025 14:54:08 -0700 Subject: [win][arm64ec] More fixes for building and testing Arm64EC Windows (#151409) * `tools/llvm-objcopy/MachO/update-section-object.test` was failing on Windows since the input file (`macho_sections.s`) might be checked out with the wrong line ending, resulting in difference in the size of sections being checked. * Removed the check for Windows in `AArch64Arm64ECCallLowering`: when `llc` is run without an explicit target, the module's target triple is unknown so this assert fires. * Expect `llvm/test/CodeGen/Generic/allow-check.ll` to fail for Arm64EC: Global ISel is not supported. --- llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp b/llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp index 082de56..ad8368e 100644 --- a/llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp +++ b/llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp @@ -735,9 +735,6 @@ AArch64Arm64ECCallLowering::buildPatchableThunk(GlobalAlias *UnmangledAlias, // Lower an indirect call with inline code. void AArch64Arm64ECCallLowering::lowerCall(CallBase *CB) { - assert(CB->getModule()->getTargetTriple().isOSWindows() && - "Only applicable for Windows targets"); - IRBuilder<> B(CB); Value *CalledOperand = CB->getCalledOperand(); -- cgit v1.1