Rename test files/move comment to the test function (instead of module-level)
diff --git a/llvm/test/Transforms/LoopVectorize/runtime-checks-diff-wrap-i128-address-space.ll b/llvm/test/Transforms/LoopVectorize/runtime-checks-diff-i128-address-space.ll similarity index 100% rename from llvm/test/Transforms/LoopVectorize/runtime-checks-diff-wrap-i128-address-space.ll rename to llvm/test/Transforms/LoopVectorize/runtime-checks-diff-i128-address-space.ll
diff --git a/llvm/test/Transforms/LoopVectorize/runtime-checks-diff-wrap-i32-address-space.ll b/llvm/test/Transforms/LoopVectorize/runtime-checks-diff-i32-address-space.ll similarity index 99% rename from llvm/test/Transforms/LoopVectorize/runtime-checks-diff-wrap-i32-address-space.ll rename to llvm/test/Transforms/LoopVectorize/runtime-checks-diff-i32-address-space.ll index 4880756..54f62c4 100644 --- a/llvm/test/Transforms/LoopVectorize/runtime-checks-diff-wrap-i32-address-space.ll +++ b/llvm/test/Transforms/LoopVectorize/runtime-checks-diff-i32-address-space.ll
@@ -1,12 +1,11 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals none --filter-out-after "vector.ph\:" --version 5 ; RUN: opt %s -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S | FileCheck %s +target datalayout = "e-p:64:64-p1:32:32-i64:64-n32:64" + ; With IC=2 and stride=0x80000000 (2^31), IC * stride is 2^32, which wraps ; to 0 when truncated to i32. The generated check needs i33 to represent its ; threshold. - -target datalayout = "e-p:64:64-p1:32:32-i64:64-n32:64" - define void @test_wrap_i32_address_space(ptr addrspace(1) %a, ptr addrspace(1) %b, i32 %n) { ; CHECK-LABEL: define void @test_wrap_i32_address_space( ; CHECK-SAME: ptr addrspace(1) [[A:%.*]], ptr addrspace(1) [[B:%.*]], i32 [[N:%.*]]) {