From c6449751cfc968c9b05216ece272d6c48df41068 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 10 Dec 2024 14:20:04 +1300 Subject: [PATCH] Test updates --- llvm/test/Transforms/Inline/promote-call-bitwidth.ll | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/test/Transforms/Inline/promote-call-bitwidth.ll b/llvm/test/Transforms/Inline/promote-call-bitwidth.ll index bc25401fbec006b..6a0ddb560125354 100644 --- a/llvm/test/Transforms/Inline/promote-call-bitwidth.ll +++ b/llvm/test/Transforms/Inline/promote-call-bitwidth.ll @@ -1,7 +1,9 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes ; RUN: opt -S -passes=inline < %s | FileCheck %s -target datalayout = "e-m:e-p200:128:128:128:64-p:64:64-i64:64-i128:128-n64-S128-A200-P200-G200" -target triple = "riscv64-unknown-freebsd13.0" + +;; Check that we correctly use the index size when accumulating offsets during CallPromotion + +target datalayout = "p200:128:128:128:64-A200-P200-G200" define void @test(ptr addrspace(200) %arg1, ptr addrspace(200) %arg2) local_unnamed_addr addrspace(200) { ; CHECK-LABEL: define {{[^@]+}}@test