From 8cf17f1de63a2a67a00c188252b561884515167e Mon Sep 17 00:00:00 2001 From: dtcxzyw <15650457+dtcxzyw@users.noreply.github.com> Date: Sun, 6 Jul 2025 21:41:56 +0800 Subject: [PATCH 1/2] pre-commit: PR147180 --- scripts/setup_pre_commit_patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup_pre_commit_patch.sh b/scripts/setup_pre_commit_patch.sh index c5409e09ef4..d3b756c5cca 100755 --- a/scripts/setup_pre_commit_patch.sh +++ b/scripts/setup_pre_commit_patch.sh @@ -2,7 +2,7 @@ set -euo pipefail shopt -s inherit_errexit -export GITHUB_PATCH_ID="/llvm-project/commit/" +export GITHUB_PATCH_ID=llvm/llvm-project/pull/147180 export COMPTIME_MODE=0 # Please rebase manually From 83544bc735f62133110380a3bf2ad6c4088dff8e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 6 Jul 2025 13:59:17 +0000 Subject: [PATCH 2/2] pre-commit: Update --- bench/abc/optimized/abcNpn.ll | 2 +- bench/actix-rs/optimized/19s5ghr2x6s6bmh4.ll | 4 +- bench/bullet3/optimized/btSoftBody.ll | 6 +- bench/git/optimized/gc.ll | 16 +- bench/glslang/optimized/hlslParseHelper.ll | 10 +- bench/grpc/optimized/promise_based_filter.ll | 26 +- bench/hermes/optimized/Triple.ll | 56 +-- bench/image-rs/optimized/2ndzmzcdt55acj4k.ll | 50 +-- bench/llvm/optimized/AArch64ISelLowering.ll | 122 +++--- bench/llvm/optimized/AttrImpl.ll | 404 +++++++++--------- bench/llvm/optimized/Consumed.ll | 76 ++-- bench/llvm/optimized/DeclSpec.ll | 22 +- bench/llvm/optimized/LegalizerHelper.ll | 86 ++-- bench/llvm/optimized/OpenMPKinds.ll | 40 +- bench/llvm/optimized/SymbolGraphSerializer.ll | 164 +++---- bench/llvm/optimized/Triple.ll | 64 +-- bench/llvm/optimized/TypeLoc.ll | 216 +++++----- bench/llvm/optimized/X86ISelLowering.ll | 62 +-- bench/miniaudio/optimized/unity.ll | 8 +- bench/node/optimized/libnode.cares_wrap.ll | 30 +- bench/openusd/optimized/listOp.ll | 20 +- bench/php/optimized/simplexml.ll | 24 +- bench/postgres/optimized/postmaster.ll | 44 +- bench/pugixml/optimized/pugixml.ll | 14 +- bench/ruby/optimized/prism.ll | 12 +- bench/tls-rs/optimized/59h61akxu6z29dlt.ll | 18 +- bench/typst-rs/optimized/1ru1rhojhbz2vfey.ll | 58 +-- bench/typst-rs/optimized/3rk2ctuzbghb17s4.ll | 52 +-- bench/typst-rs/optimized/49m3cs7hus53ztof.ll | 32 +- bench/typst-rs/optimized/4qskctz4kwc33g7b.ll | 34 +- bench/typst-rs/optimized/59tuvc5m3xlovl3o.ll | 28 +- bench/typst-rs/optimized/d6l9ieo9tcw33dn.ll | 60 +-- .../wasmtime-rs/optimized/2ly4gzztxx8hlwxv.ll | 174 ++++---- .../wasmtime-rs/optimized/3r0osxvwe4cd326n.ll | 80 ++-- 34 files changed, 1057 insertions(+), 1057 deletions(-) diff --git a/bench/abc/optimized/abcNpn.ll b/bench/abc/optimized/abcNpn.ll index c3d9763635b..d4592ad4417 100644 --- a/bench/abc/optimized/abcNpn.ll +++ b/bench/abc/optimized/abcNpn.ll @@ -461,7 +461,7 @@ Abc_Clock.exit: ; preds = %3, %13 switch.lookup: ; preds = %18 %switch.tableidx = add nsw i32 %1, -1 - %20 = zext i32 %switch.tableidx to i64 + %20 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.Abc_TruthNpnPerform, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 br label %21 diff --git a/bench/actix-rs/optimized/19s5ghr2x6s6bmh4.ll b/bench/actix-rs/optimized/19s5ghr2x6s6bmh4.ll index edd7a6f96eb..7a79defd39c 100644 --- a/bench/actix-rs/optimized/19s5ghr2x6s6bmh4.ll +++ b/bench/actix-rs/optimized/19s5ghr2x6s6bmh4.ll @@ -5853,10 +5853,10 @@ define noundef range(i8 0, 6) i8 @"_ZN119_$LT$actix_http..header..shared..conten ; Function Attrs: nonlazybind uwtable define void @"_ZN132_$LT$actix_http..header..shared..content_encoding..ContentEncoding$u20$as$u20$actix_http..header..into_value..TryIntoHeaderValue$GT$14try_into_value17h6e89acef04faf1a2E"(ptr noalias noundef writeonly sret({ [32 x i8], i8, [7 x i8] }) align 8 captures(none) dereferenceable(40) %0, i8 noundef %1) unnamed_addr #7 { switch.lookup: - %2 = zext i8 %1 to i64 + %2 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN132_$LT$actix_http..header..shared..content_encoding..ContentEncoding$u20$as$u20$actix_http..header..into_value..TryIntoHeaderValue$GT$14try_into_value17h6e89acef04faf1a2E", i64 0, i64 %2 %switch.load = load ptr, ptr %switch.gep, align 8 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN132_$LT$actix_http..header..shared..content_encoding..ContentEncoding$u20$as$u20$actix_http..header..into_value..TryIntoHeaderValue$GT$14try_into_value17h6e89acef04faf1a2E.31", i64 0, i64 %3 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !846) diff --git a/bench/bullet3/optimized/btSoftBody.ll b/bench/bullet3/optimized/btSoftBody.ll index 2e1a0de3433..9c23e1b599f 100644 --- a/bench/bullet3/optimized/btSoftBody.ll +++ b/bench/bullet3/optimized/btSoftBody.ll @@ -27101,7 +27101,7 @@ define dso_local void @_ZN10btSoftBody16solveConstraintsEv(ptr noundef nonnull a %174 = load ptr, ptr %152, align 8, !tbaa !120 %175 = getelementptr inbounds nuw i32, ptr %174, i64 %indvars.iv187 %176 = load i32, ptr %175, align 4, !tbaa !325 - %177 = zext i32 %176 to i64 + %177 = zext nneg i32 %176 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN10btSoftBody11staticSolveEi, i64 0, i64 %177 %switch.load = load ptr, ptr %switch.gep, align 8 tail call void %switch.load(ptr noundef nonnull %0, float noundef 1.000000e+00, float noundef %168), !callees !822 @@ -27226,7 +27226,7 @@ define dso_local void @_ZN10btSoftBody16solveConstraintsEv(ptr noundef nonnull a %239 = load ptr, ptr %220, align 8, !tbaa !120 %240 = getelementptr inbounds nuw i32, ptr %239, i64 %indvars.iv200 %241 = load i32, ptr %240, align 4, !tbaa !325 - %242 = zext i32 %241 to i64 + %242 = zext nneg i32 %241 to i64 %switch.gep217 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN10btSoftBody11staticSolveEi, i64 0, i64 %242 %switch.load218 = load ptr, ptr %switch.gep217, align 8 tail call void %switch.load218(ptr noundef nonnull %0, float noundef 1.000000e+00, float noundef 0.000000e+00), !callees !822 @@ -27827,7 +27827,7 @@ define dso_local void @_ZN10btSoftBody11staticSolveEi(ptr noundef nonnull align %12 = load ptr, ptr %5, align 8, !tbaa !120 %13 = getelementptr inbounds nuw i32, ptr %12, i64 %indvars.iv %14 = load i32, ptr %13, align 4, !tbaa !325 - %15 = zext i32 %14 to i64 + %15 = zext nneg i32 %14 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN10btSoftBody11staticSolveEi, i64 0, i64 %15 %switch.load = load ptr, ptr %switch.gep, align 8 tail call void %switch.load(ptr noundef nonnull %0, float noundef 1.000000e+00, float noundef 0.000000e+00), !callees !822 diff --git a/bench/git/optimized/gc.ll b/bench/git/optimized/gc.ll index 5fac0c1eaf6..4a6492cd5fa 100644 --- a/bench/git/optimized/gc.ll +++ b/bench/git/optimized/gc.ll @@ -5447,7 +5447,7 @@ switch.lookup: call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %4) #21 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %4, ptr noundef nonnull align 8 dereferenceable(120) @__const.schtasks_remove_task.child, i64 120, i1 false) %switch.tableidx = add nsw i32 %1, -1 - %5 = zext i32 %switch.tableidx to i64 + %5 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %5 %switch.load = load ptr, ptr %switch.gep, align 8 %6 = icmp ne i32 %0, 0 @@ -5460,7 +5460,7 @@ switch.lookup: switch.lookup14: ; preds = %switch.lookup %switch.tableidx15 = add nsw i32 %1, -1 - %9 = zext i32 %switch.tableidx15 to i64 + %9 = zext nneg i32 %switch.tableidx15 to i64 %switch.gep16 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %9 %switch.load17 = load ptr, ptr %switch.gep16, align 8 %10 = tail call ptr (ptr, ...) @xstrfmt(ptr noundef nonnull @.str.209, ptr noundef nonnull %switch.load17, ptr noundef nonnull @.str.219) #21 @@ -5490,7 +5490,7 @@ _.exit.i: ; preds = %15, %13 switch.lookup18: ; preds = %18 %switch.tableidx19 = add nsw i32 %1, -1 - %20 = zext i32 %switch.tableidx19 to i64 + %20 = zext nneg i32 %switch.tableidx19 to i64 %switch.gep20 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.systemd_timer_enable_unit.12, i64 0, i64 %20 %switch.load21 = load ptr, ptr %switch.gep20, align 8 %21 = tail call ptr (ptr, ...) @xstrfmt(ptr noundef nonnull %switch.load21, i32 noundef range(i32 0, 60) %2) #21 @@ -5647,7 +5647,7 @@ declare ptr @xdg_config_home_for(ptr noundef, ptr noundef) local_unnamed_addr #4 define internal fastcc range(i32 -1, 1) i32 @systemd_timer_delete_timer_file(i32 noundef range(i32 1, 4) %0) unnamed_addr #0 { switch.lookup: %switch.tableidx = add nsw i32 %0, -1 - %1 = zext i32 %switch.tableidx to i64 + %1 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 %2 = tail call ptr (ptr, ...) @xstrfmt(ptr noundef nonnull @.str.209, ptr noundef nonnull %switch.load, ptr noundef nonnull @.str.219) #21 @@ -5698,7 +5698,7 @@ switch.lookup: %9 = alloca %struct.stat, align 8 %10 = alloca ptr, align 8 %switch.tableidx = add nsw i32 %1, -1 - %11 = zext i32 %switch.tableidx to i64 + %11 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #21 @@ -5985,7 +5985,7 @@ switch.lookup: %1 = alloca %struct.strbuf, align 8 %2 = alloca %struct.strbuf, align 8 %switch.tableidx = add nsw i32 %0, -1 - %3 = zext i32 %switch.tableidx to i64 + %3 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #21 @@ -6032,7 +6032,7 @@ switch.lookup: call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(120) @__const.schtasks_remove_task.child, i64 120, i1 false) call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #21 %switch.tableidx = add nsw i32 %1, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #21 @@ -6076,7 +6076,7 @@ switch.lookup18: ; preds = %get_random_minute.e %24 = load volatile ptr, ptr %23, align 8, !tbaa !176 %25 = call i64 @fwrite(ptr nonnull @.str.249, i64 135, i64 1, ptr %24) %switch.tableidx19 = add nsw i32 %1, -1 - %26 = zext i32 %switch.tableidx19 to i64 + %26 = zext nneg i32 %switch.tableidx19 to i64 %switch.gep20 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table.schtasks_schedule_task.13, i64 0, i64 %26 %switch.load21 = load ptr, ptr %switch.gep20, align 8 %27 = load volatile ptr, ptr %23, align 8, !tbaa !176 diff --git a/bench/glslang/optimized/hlslParseHelper.ll b/bench/glslang/optimized/hlslParseHelper.ll index 7907c066445..f4341d40699 100644 --- a/bench/glslang/optimized/hlslParseHelper.ll +++ b/bench/glslang/optimized/hlslParseHelper.ll @@ -53610,7 +53610,7 @@ _ZSteqIcSt11char_traitsIcEN7glslang14pool_allocatorIcEEEbRKNSt7__cxx1112basic_st switch.lookup: ; preds = %182 %switch.tableidx = add nsw i32 %.090146, -1 - %184 = zext i32 %switch.tableidx to i64 + %184 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext18setLayoutQualifierERKNS_10TSourceLocERNS_10TQualifierERNSt7__cxx1112basic_stringIcSt11char_traitsIcENS_14pool_allocatorIcEEEE, i64 0, i64 %184 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN7glslang10TQualifier20getLayoutDepthStringENS_12TLayoutDepthE.exit @@ -60378,7 +60378,7 @@ _ZN7glslang13TIntermediate17setInputPrimitiveENS_15TLayoutGeometryE.exit: ; pred switch.lookup: ; preds = %_ZN7glslang13TIntermediate17setInputPrimitiveENS_15TLayoutGeometryE.exit %switch.tableidx = add nsw i32 %8, -1 - %15 = zext i32 %switch.tableidx to i64 + %15 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext19handleInputGeometryERKNS_10TSourceLocERKNS_15TLayoutGeometryE, i64 0, i64 %15 %switch.load = load ptr, ptr %switch.gep, align 8 %16 = load ptr, ptr %0, align 8 @@ -60455,7 +60455,7 @@ _ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit: ; pre switch.lookup: ; preds = %_ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit %switch.tableidx = add nsw i32 %10, -1 - %17 = zext i32 %switch.tableidx to i64 + %17 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext33updateStandaloneQualifierDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE, i64 0, i64 %17 %switch.load = load ptr, ptr %switch.gep, align 8 %18 = load ptr, ptr %0, align 8 @@ -60760,7 +60760,7 @@ _ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit.i: ; p switch.lookup: ; preds = %_ZN7glslang13TIntermediate18setOutputPrimitiveENS_15TLayoutGeometryE.exit.i %switch.tableidx = add nsw i32 %18, -1 - %43 = zext i32 %switch.tableidx to i64 + %43 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext33updateStandaloneQualifierDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE, i64 0, i64 %43 %switch.load = load ptr, ptr %switch.gep, align 8 %44 = load ptr, ptr %0, align 8 @@ -60801,7 +60801,7 @@ _ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE.exit12.i: ; pre switch.lookup94: ; preds = %56 %switch.tableidx95 = add i32 %18, -1 - %58 = zext i32 %switch.tableidx95 to i64 + %58 = zext nneg i32 %switch.tableidx95 to i64 %switch.gep96 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN7glslang16HlslParseContext33updateStandaloneQualifierDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE.98, i64 0, i64 %58 %switch.load97 = load ptr, ptr %switch.gep96, align 8 br label %_ZN7glslang10TQualifier17getGeometryStringENS_15TLayoutGeometryE.exit72 diff --git a/bench/grpc/optimized/promise_based_filter.ll b/bench/grpc/optimized/promise_based_filter.ll index 6521b4e3951..49b1b291b85 100644 --- a/bench/grpc/optimized/promise_based_filter.ll +++ b/bench/grpc/optimized/promise_based_filter.ll @@ -3273,7 +3273,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit27: ; preds = %_ZN switch.lookup36: ; preds = %.critedge24, %.critedge24, %.critedge24, %.critedge24, %.critedge24 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #41 %switch.tableidx = add nsw i8 %31, -2 - %48 = zext i8 %switch.tableidx to i64 + %48 = zext nneg i8 %switch.tableidx to i64 %switch.gep37 = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail12BaseCallData11SendMessage7StartOpENS1_13CapturedBatchE.73, i64 0, i64 %48 %switch.load38 = load ptr, ptr %switch.gep37, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #41, !noalias !228 @@ -3568,7 +3568,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit36: ; preds = %_ZN switch.lookup50: ; preds = %.critedge33, %.critedge33, %.critedge33, %.critedge33, %.critedge33, %.critedge33 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #41 - %57 = zext i8 %36 to i64 + %57 = zext nneg i8 %36 to i64 %switch.gep51 = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail12BaseCallData11SendMessage10OnCompleteEN4absl12lts_202407226StatusE.74, i64 0, i64 %57 %switch.load52 = load ptr, ptr %switch.gep51, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #41, !noalias !236 @@ -10822,7 +10822,7 @@ _ZN9grpc_core21promise_filter_detail12BaseCallData13CapturedBatch12CompleteWithE switch.lookup: ; preds = %182, %182, %182, %182, %182, %182, %182 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #41 %switch.tableidx = add nsw i32 %183, -3 - %185 = zext i32 %switch.tableidx to i64 + %185 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ClientCallData10StartBatchEP30grpc_transport_stream_op_batch, i64 0, i64 %185 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #41, !noalias !565 @@ -13527,7 +13527,7 @@ _ZN4absl12lts_202407226StatusD2Ev.exit359: ; preds = %701, %704 switch.lookup560: ; preds = %712, %712 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #41 %switch.tableidx = add nsw i32 %713, -2 - %717 = zext i32 %switch.tableidx to i64 + %717 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ClientCallData11PollContext3RunEv.77, i64 0, i64 %717 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #41, !noalias !686 @@ -13707,7 +13707,7 @@ _ZN4absl12lts_202407226StatusD2Ev.exit368: ; preds = %748, %_ZN4absl12lts switch.lookup561: ; preds = %774, %774 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #41 %switch.tableidx562 = add nsw i32 %775, -2 - %777 = zext i32 %switch.tableidx562 to i64 + %777 = zext nneg i32 %switch.tableidx562 to i64 %switch.gep563 = getelementptr inbounds nuw [8 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ClientCallData11PollContext3RunEv.77, i64 0, i64 %777 %switch.load564 = load ptr, ptr %switch.gep563, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #41, !noalias !692 @@ -15002,7 +15002,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit103: ; preds = %_Z switch.lookup: ; preds = %84, %84, %84, %84, %84, %84, %84, %84 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #41 - %144 = zext i32 %87 to i64 + %144 = zext nneg i32 %87 to i64 %switch.gep = getelementptr inbounds nuw [10 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ClientCallData24RecvInitialMetadataReadyEN4absl12lts_202407226StatusE.78, i64 0, i64 %144 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #41, !noalias !733 @@ -15177,7 +15177,7 @@ _ZN4absl12lts_202407226StatusC2ERKS1_.exit110: ; preds = %194, %188 switch.lookup138: ; preds = %207, %207, %207, %207, %207, %207, %207, %207 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #41 - %210 = zext i32 %208 to i64 + %210 = zext nneg i32 %208 to i64 %switch.gep139 = getelementptr inbounds nuw [10 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ClientCallData24RecvInitialMetadataReadyEN4absl12lts_202407226StatusE.78, i64 0, i64 %210 %switch.load140 = load ptr, ptr %switch.gep139, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #41, !noalias !736 @@ -15515,7 +15515,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit81: ; preds = %_ZN switch.lookup: ; preds = %87, %87, %87, %87, %87, %87, %87 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #41 %switch.tableidx = add nsw i32 %89, -1 - %102 = zext i32 %switch.tableidx to i64 + %102 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ClientCallData15MakeNextPromiseENS_8CallArgsE, i64 0, i64 %102 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #41, !noalias !740 @@ -15797,7 +15797,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit32: ; preds = %_ZN switch.lookup59: ; preds = %30, %30, %30, %30, %30, %30 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #41 %switch.tableidx = add nsw i8 %32, -1 - %55 = zext i8 %switch.tableidx to i64 + %55 = zext nneg i8 %switch.tableidx to i64 %switch.gep60 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail12BaseCallData11SendMessage7GotPipeINS_10PipeSenderISt10unique_ptrINS_7MessageENS_5Arena13PooledDeleterEEEEEEvPT_.84, i64 0, i64 %55 %switch.load61 = load ptr, ptr %switch.gep60, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #41, !noalias !745 @@ -19034,7 +19034,7 @@ _ZN4absl12lts_202407226StatusC2ERKS1_.exit145: ; preds = %211, %209, %208 switch.lookup: ; preds = %201, %201, %201, %201 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #41 %switch.tableidx = add nsw i32 %202, -2 - %224 = zext i32 %switch.tableidx to i64 + %224 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ServerCallData10StartBatchEP30grpc_transport_stream_op_batch, i64 0, i64 %224 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #41, !noalias !820 @@ -19274,7 +19274,7 @@ _ZNK9grpc_core21promise_filter_detail12BaseCallData11SendMessage6IsIdleEv.exit: switch.lookup255: ; preds = %272, %272, %272, %272 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #41 %switch.tableidx256 = add nsw i32 %274, -1 - %298 = zext i32 %switch.tableidx256 to i64 + %298 = zext nneg i32 %switch.tableidx256 to i64 %switch.gep257 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ServerCallData10StartBatchEP30grpc_transport_stream_op_batch.82, i64 0, i64 %298 %switch.load258 = load ptr, ptr %switch.gep257, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #41, !noalias !824 @@ -20336,7 +20336,7 @@ define void @_ZN9grpc_core21promise_filter_detail14ServerCallData15MakeNextPromi switch.lookup: ; preds = %30, %30, %30, %30 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #41 %switch.tableidx = add nsw i32 %31, -1 - %37 = zext i32 %switch.tableidx to i64 + %37 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail14ServerCallData15MakeNextPromiseENS_8CallArgsE, i64 0, i64 %37 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #41, !noalias !846 @@ -20625,7 +20625,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit32: ; preds = %_ZN switch.lookup59: ; preds = %30, %30, %30, %30, %30, %30 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #41 %switch.tableidx = add nsw i8 %32, -1 - %55 = zext i8 %switch.tableidx to i64 + %55 = zext nneg i8 %switch.tableidx to i64 %switch.gep60 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN9grpc_core21promise_filter_detail12BaseCallData11SendMessage7GotPipeINS_10PipeSenderISt10unique_ptrINS_7MessageENS_5Arena13PooledDeleterEEEEEEvPT_.84, i64 0, i64 %55 %switch.load61 = load ptr, ptr %switch.gep60, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #41, !noalias !850 diff --git a/bench/hermes/optimized/Triple.ll b/bench/hermes/optimized/Triple.ll index 9dcd40d05e9..f3d4eec01d3 100644 --- a/bench/hermes/optimized/Triple.ll +++ b/bench/hermes/optimized/Triple.ll @@ -243,10 +243,10 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define hidden { ptr, i64 } @_ZN4llvh6Triple15getArchTypeNameENS0_8ArchTypeE(i32 noundef %Kind) local_unnamed_addr #0 align 2 { entry: - %0 = zext i32 %Kind to i64 + %0 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [51 x i64], ptr @switch.table._ZN4llvh6Triple7setArchENS0_8ArchTypeE, i64 0, i64 %0 %switch.load = load i64, ptr %switch.gep, align 8 - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep103 = getelementptr inbounds nuw [51 x ptr], ptr @switch.table._ZN4llvh6Triple7setArchENS0_8ArchTypeE.11, i64 0, i64 %1 %switch.load104 = load ptr, ptr %switch.gep103, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load104, 0 @@ -284,10 +284,10 @@ declare void @llvm.memset.p0.i64(ptr writeonly captures(none), i8, i64, i1 immar ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define hidden { ptr, i64 } @_ZN4llvh6Triple17getVendorTypeNameENS0_10VendorTypeE(i32 noundef %Kind) local_unnamed_addr #0 align 2 { entry: - %0 = zext i32 %Kind to i64 + %0 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [17 x i64], ptr @switch.table._ZN4llvh6Triple9setVendorENS0_10VendorTypeE, i64 0, i64 %0 %switch.load = load i64, ptr %switch.gep, align 8 - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep35 = getelementptr inbounds nuw [17 x ptr], ptr @switch.table._ZN4llvh6Triple9setVendorENS0_10VendorTypeE.12, i64 0, i64 %1 %switch.load36 = load ptr, ptr %switch.gep35, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load36, 0 @@ -298,10 +298,10 @@ entry: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define hidden { ptr, i64 } @_ZN4llvh6Triple13getOSTypeNameENS0_6OSTypeE(i32 noundef %Kind) local_unnamed_addr #0 align 2 { entry: - %0 = zext i32 %Kind to i64 + %0 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [33 x i64], ptr @switch.table._ZN4llvh6Triple5setOSENS0_6OSTypeE, i64 0, i64 %0 %switch.load = load i64, ptr %switch.gep, align 8 - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep67 = getelementptr inbounds nuw [33 x ptr], ptr @switch.table._ZN4llvh6Triple5setOSENS0_6OSTypeE.13, i64 0, i64 %1 %switch.load68 = load ptr, ptr %switch.gep67, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load68, 0 @@ -312,10 +312,10 @@ entry: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define hidden { ptr, i64 } @_ZN4llvh6Triple22getEnvironmentTypeNameENS0_15EnvironmentTypeE(i32 noundef %Kind) local_unnamed_addr #0 align 2 { entry: - %0 = zext i32 %Kind to i64 + %0 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [19 x i64], ptr @switch.table._ZN4llvh6Triple14setEnvironmentENS0_15EnvironmentTypeE.15, i64 0, i64 %0 %switch.load = load i64, ptr %switch.gep, align 8 - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep39 = getelementptr inbounds nuw [19 x ptr], ptr @switch.table._ZN4llvh6Triple14setEnvironmentENS0_15EnvironmentTypeE.16, i64 0, i64 %1 %switch.load40 = load ptr, ptr %switch.gep39, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load40, 0 @@ -3470,10 +3470,10 @@ if.end15.sink.split.i214: ; preds = %for.body.preheader. _ZN4llvh15SmallVectorImplINS_9StringRefEE6resizeEm.exit219: ; preds = %if.else.i198, %if.end15.sink.split.i214 %switch.tableidx = add nsw i32 %ObjectFormat.2, -2 - %72 = zext i32 %switch.tableidx to i64 + %72 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table._ZN4llvh6Triple9normalizeB5cxx11ENS_9StringRefE, i64 0, i64 %72 %switch.load = load i64, ptr %switch.gep, align 8 - %73 = zext i32 %switch.tableidx to i64 + %73 = zext nneg i32 %switch.tableidx to i64 %switch.gep444 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN4llvh6Triple9normalizeB5cxx11ENS_9StringRefE.8, i64 0, i64 %73 %switch.load445 = load ptr, ptr %switch.gep444, align 8 %74 = load ptr, ptr %Components, align 8 @@ -3824,14 +3824,14 @@ entry: %1 = extractvalue { ptr, i64 } %call, 1 %Environment.i = getelementptr inbounds nuw i8, ptr %this, i64 48 %2 = load i32, ptr %Environment.i, align 8 - %3 = zext i32 %2 to i64 + %3 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [19 x i64], ptr @switch.table._ZN4llvh6Triple14setEnvironmentENS0_15EnvironmentTypeE.15, i64 0, i64 %3 %switch.load = load i64, ptr %switch.gep, align 8 %cmp.i.not = icmp ult i64 %1, %switch.load br i1 %cmp.i.not, label %if.end, label %if.end.i if.end.i: ; preds = %entry - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep18 = getelementptr inbounds nuw [19 x ptr], ptr @switch.table._ZN4llvh6Triple14setEnvironmentENS0_15EnvironmentTypeE.16, i64 0, i64 %4 %switch.load19 = load ptr, ptr %switch.gep18, align 8 %bcmp = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %switch.load19, i64 %switch.load) @@ -3923,14 +3923,14 @@ entry: %1 = extractvalue { ptr, i64 } %call, 1 %OS.i = getelementptr inbounds nuw i8, ptr %this, i64 44 %2 = load i32, ptr %OS.i, align 4 - %3 = zext i32 %2 to i64 + %3 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [33 x i64], ptr @switch.table._ZN4llvh6Triple5setOSENS0_6OSTypeE, i64 0, i64 %3 %switch.load = load i64, ptr %switch.gep, align 8 %cmp.i.not = icmp ult i64 %1, %switch.load br i1 %cmp.i.not, label %if.else, label %if.end.i40 if.end.i40: ; preds = %entry - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep59 = getelementptr inbounds nuw [33 x ptr], ptr @switch.table._ZN4llvh6Triple5setOSENS0_6OSTypeE.13, i64 0, i64 %4 %switch.load60 = load ptr, ptr %switch.gep59, align 8 %bcmp = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %switch.load60, i64 %switch.load) @@ -4182,10 +4182,10 @@ entry: ; Function Attrs: mustprogress nounwind uwtable define hidden void @_ZN4llvh6Triple7setArchENS0_8ArchTypeE(ptr noundef nonnull align 8 dereferenceable(56) %this, i32 noundef %Kind) local_unnamed_addr #4 align 2 { entry: - %0 = zext i32 %Kind to i64 + %0 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [51 x i64], ptr @switch.table._ZN4llvh6Triple7setArchENS0_8ArchTypeE, i64 0, i64 %0 %switch.load = load i64, ptr %switch.gep, align 8 - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep1 = getelementptr inbounds nuw [51 x ptr], ptr @switch.table._ZN4llvh6Triple7setArchENS0_8ArchTypeE.11, i64 0, i64 %1 %switch.load2 = load ptr, ptr %switch.gep1, align 8 tail call void @_ZN4llvh6Triple11setArchNameENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(56) %this, ptr nonnull %switch.load2, i64 %switch.load) @@ -4371,10 +4371,10 @@ _ZN4llvh11SmallStringILj64EED2Ev.exit: ; preds = %_ZN4llvh11SmallStri ; Function Attrs: mustprogress nounwind uwtable define hidden void @_ZN4llvh6Triple9setVendorENS0_10VendorTypeE(ptr noundef nonnull align 8 dereferenceable(56) %this, i32 noundef %Kind) local_unnamed_addr #4 align 2 { entry: - %0 = zext i32 %Kind to i64 + %0 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [17 x i64], ptr @switch.table._ZN4llvh6Triple9setVendorENS0_10VendorTypeE, i64 0, i64 %0 %switch.load = load i64, ptr %switch.gep, align 8 - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep1 = getelementptr inbounds nuw [17 x ptr], ptr @switch.table._ZN4llvh6Triple9setVendorENS0_10VendorTypeE.12, i64 0, i64 %1 %switch.load2 = load ptr, ptr %switch.gep1, align 8 tail call void @_ZN4llvh6Triple13setVendorNameENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(56) %this, ptr nonnull %switch.load2, i64 %switch.load) @@ -4464,10 +4464,10 @@ _ZN4llvhplERKNS_5TwineES2_.exit63: ; Function Attrs: mustprogress nounwind uwtable define hidden void @_ZN4llvh6Triple5setOSENS0_6OSTypeE(ptr noundef nonnull align 8 dereferenceable(56) %this, i32 noundef %Kind) local_unnamed_addr #4 align 2 { entry: - %0 = zext i32 %Kind to i64 + %0 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [33 x i64], ptr @switch.table._ZN4llvh6Triple5setOSENS0_6OSTypeE, i64 0, i64 %0 %switch.load = load i64, ptr %switch.gep, align 8 - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep1 = getelementptr inbounds nuw [33 x ptr], ptr @switch.table._ZN4llvh6Triple5setOSENS0_6OSTypeE.13, i64 0, i64 %1 %switch.load2 = load ptr, ptr %switch.gep1, align 8 tail call void @_ZN4llvh6Triple9setOSNameENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(56) %this, ptr nonnull %switch.load2, i64 %switch.load) @@ -4675,8 +4675,8 @@ entry: %this.val3 = load i32, ptr %2, align 4 %call = tail call fastcc noundef i32 @_ZL16getDefaultFormatRKN4llvh6TripleE(i32 %this.val, i32 %this.val3) %cmp = icmp eq i32 %0, %call - %3 = zext i32 %Kind to i64 - %4 = zext i32 %Kind to i64 + %3 = zext nneg i32 %Kind to i64 + %4 = zext nneg i32 %Kind to i64 br i1 %cmp, label %switch.lookup, label %switch.lookup68 switch.lookup: ; preds = %entry @@ -4702,10 +4702,10 @@ switch.lookup68: ; preds = %entry store i8 5, ptr %LHSKind5.i.i.i, align 8, !alias.scope !235 %RHSKind6.i.i.i = getelementptr inbounds nuw i8, ptr %ref.tmp5, i64 17 store i8 3, ptr %RHSKind6.i.i.i, align 1, !alias.scope !235 - %6 = zext i32 %0 to i64 + %6 = zext nneg i32 %0 to i64 %switch.gep74 = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN4llvh6Triple15setObjectFormatENS0_16ObjectFormatTypeE.20, i64 0, i64 %6 %switch.load75 = load i64, ptr %switch.gep74, align 8 - %7 = zext i32 %0 to i64 + %7 = zext nneg i32 %0 to i64 %switch.gep76 = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN4llvh6Triple15setObjectFormatENS0_16ObjectFormatTypeE.21, i64 0, i64 %7 %switch.load77 = load ptr, ptr %switch.gep76, align 8 store ptr %switch.load77, ptr %ref.tmp11, align 8 @@ -4865,10 +4865,10 @@ entry: ] switch.lookup: ; preds = %entry - %1 = zext i32 %Kind to i64 + %1 = zext nneg i32 %Kind to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN4llvh6Triple15setObjectFormatENS0_16ObjectFormatTypeE.20, i64 0, i64 %1 %switch.load = load i64, ptr %switch.gep, align 8 - %2 = zext i32 %Kind to i64 + %2 = zext nneg i32 %Kind to i64 %switch.gep51 = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN4llvh6Triple15setObjectFormatENS0_16ObjectFormatTypeE.21, i64 0, i64 %2 %switch.load52 = load ptr, ptr %switch.gep51, align 8 tail call void @_ZN4llvh6Triple18setEnvironmentNameENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(56) %this, ptr nonnull %switch.load52, i64 %switch.load) @@ -4941,10 +4941,10 @@ _ZN4llvhplERKNS_5TwineES2_.exit: ; preds = %entry, %_ZN4llvh9St store i8 5, ptr %LHSKind5.i.i.i, align 8, !alias.scope !279 %RHSKind6.i.i.i = getelementptr inbounds nuw i8, ptr %ref.tmp4, i64 17 store i8 3, ptr %RHSKind6.i.i.i, align 1, !alias.scope !279 - %4 = zext i32 %Kind to i64 + %4 = zext nneg i32 %Kind to i64 %switch.gep54 = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN4llvh6Triple15setObjectFormatENS0_16ObjectFormatTypeE.20, i64 0, i64 %4 %switch.load55 = load i64, ptr %switch.gep54, align 8 - %5 = zext i32 %Kind to i64 + %5 = zext nneg i32 %Kind to i64 %switch.gep56 = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN4llvh6Triple15setObjectFormatENS0_16ObjectFormatTypeE.21, i64 0, i64 %5 %switch.load57 = load ptr, ptr %switch.gep56, align 8 store ptr %switch.load57, ptr %ref.tmp11, align 8 diff --git a/bench/image-rs/optimized/2ndzmzcdt55acj4k.ll b/bench/image-rs/optimized/2ndzmzcdt55acj4k.ll index c3b8ecb0a16..a5cbeb821ae 100644 --- a/bench/image-rs/optimized/2ndzmzcdt55acj4k.ll +++ b/bench/image-rs/optimized/2ndzmzcdt55acj4k.ll @@ -23078,10 +23078,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h18cb09a905e5d3a2E(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -23260,10 +23260,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h38246cdb4938ae42E(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -23449,10 +23449,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h3bd4bb4b6846062dE(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -23638,10 +23638,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h48915728c0c37a5fE(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -23820,10 +23820,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h67e0d7909031f46cE(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -24002,10 +24002,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h68200b414841aa12E(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -24184,10 +24184,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h8fd6268b97527027E(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -24373,10 +24373,10 @@ define hidden void @_ZN5image8imageops6sample6resize17h91dfde002a15b155E(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -24555,10 +24555,10 @@ define hidden void @_ZN5image8imageops6sample6resize17hab7dccdd8880f76eE(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -24744,10 +24744,10 @@ define hidden void @_ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E(ptr noa store ptr inttoptr (i64 1 to ptr), ptr %9, align 8 %18 = getelementptr inbounds nuw i8, ptr %9, i64 8 %19 = getelementptr inbounds nuw i8, ptr %9, i64 16 - %20 = zext i8 %4 to i64 + %20 = zext nneg i8 %4 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E, i64 0, i64 %20 %switch.load = load ptr, ptr %switch.gep, align 8 - %21 = zext i8 %4 to i64 + %21 = zext nneg i8 %4 to i64 %switch.gep7 = getelementptr inbounds nuw [5 x float], ptr @switch.table._ZN5image8imageops6sample6resize17hddda5a5e88d0ad15E.108, i64 0, i64 %21 %switch.load8 = load float, ptr %switch.gep7, align 4 store ptr %switch.load, ptr %18, align 8 @@ -32120,7 +32120,7 @@ define void @_ZN5image6codecs4webp9transform7iwht4x417h0d981d6f6d8159feE(ptr noa ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef range(i8 1, 17) i8 @_ZN5image5color9ColorType15bytes_per_pixel17hcff21ecdd81b7288E(i8 noundef %0) unnamed_addr #7 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x i8], ptr @switch.table._ZN5image5color9ColorType15bytes_per_pixel17hcff21ecdd81b7288E, i64 0, i64 %1 %switch.load = load i8, ptr %switch.gep, align 1 ret i8 %switch.load @@ -32145,7 +32145,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef range(i16 8, 129) i16 @_ZN5image5color9ColorType14bits_per_pixel17h4f95918665485d51E(i8 noundef %0) unnamed_addr #7 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x i16], ptr @switch.table._ZN5image5color9ColorType14bits_per_pixel17h4f95918665485d51E, i64 0, i64 %1 %switch.load = load i16, ptr %switch.gep, align 2 ret i16 %switch.load @@ -32154,7 +32154,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef range(i8 1, 5) i8 @_ZN5image5color9ColorType13channel_count17h091181b88688e861E(i8 noundef %0) unnamed_addr #7 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x i8], ptr @switch.table._ZN5image5color9ColorType13channel_count17h091181b88688e861E, i64 0, i64 %1 %switch.load = load i8, ptr %switch.gep, align 1 ret i8 %switch.load @@ -32163,7 +32163,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef range(i8 1, 5) i8 @_ZN5image5color17ExtendedColorType13channel_count17h2c1e63fafcc5e7e4E(i8 noundef %0, i8 %1) unnamed_addr #7 { switch.lookup: - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [27 x i8], ptr @switch.table._ZN5image5color17ExtendedColorType13channel_count17h2c1e63fafcc5e7e4E, i64 0, i64 %2 %switch.load = load i8, ptr %switch.gep, align 1 ret i8 %switch.load @@ -32172,7 +32172,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { i8, i8 } @"_ZN102_$LT$image..color..ExtendedColorType$u20$as$u20$core..convert..From$LT$image..color..ColorType$GT$$GT$4from17h48c483a11b2d5c57E"(i8 noundef %0) unnamed_addr #7 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x i8], ptr @"switch.table._ZN102_$LT$image..color..ExtendedColorType$u20$as$u20$core..convert..From$LT$image..color..ColorType$GT$$GT$4from17h48c483a11b2d5c57E", i64 0, i64 %1 %switch.load = load i8, ptr %switch.gep, align 1 %2 = insertvalue { i8, i8 } poison, i8 %switch.load, 0 diff --git a/bench/llvm/optimized/AArch64ISelLowering.ll b/bench/llvm/optimized/AArch64ISelLowering.ll index 048001a969a..d01a7021427 100644 --- a/bench/llvm/optimized/AArch64ISelLowering.ll +++ b/bench/llvm/optimized/AArch64ISelLowering.ll @@ -15933,7 +15933,7 @@ define dso_local { ptr, i32 } @_ZNK4llvm21AArch64TargetLowering17LowerToScalable _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %23, %18 %.fca.1.insert.merged.i.i = phi i16 [ %22, %18 ], [ %25, %23 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %26 = zext i16 %switch.tableidx to i64 + %26 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %26 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) @@ -17848,7 +17848,7 @@ _ZNK4llvm3EVT19isFixedLengthVectorEv.exit: ; preds = %_ZL21getPredicateFo _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %50, %45 %.fca.1.insert.merged.i.i = phi i16 [ %49, %45 ], [ %53, %50 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %54 = zext i16 %switch.tableidx to i64 + %54 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %54 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) @@ -18389,7 +18389,7 @@ _ZL21getPredicateForVectorRN4llvm12SelectionDAGERNS_5SDLocENS_3EVTE.exit: ; pred _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %53, %48 %.fca.1.insert.merged.i.i = phi i16 [ %52, %48 ], [ %55, %53 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %56 = zext i16 %switch.tableidx to i64 + %56 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %56 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) @@ -19954,7 +19954,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %6, %29 _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %43, %48 %.fca.1.insert.merged.i = phi i16 [ %47, %43 ], [ %50, %48 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i, -5 - %51 = zext i16 %switch.tableidx to i64 + %51 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %51 %switch.load = load i16, ptr %switch.gep, align 2 store i16 %switch.load, ptr %14, align 8 @@ -19980,7 +19980,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %43, %48 _ZNK4llvm3EVT20getVectorElementTypeEv.exit109: ; preds = %54, %59 %.fca.1.insert.merged.i108 = phi i16 [ %58, %54 ], [ %61, %59 ] %switch.tableidx201 = add nsw i16 %.fca.1.insert.merged.i108, -5 - %62 = zext i16 %switch.tableidx201 to i64 + %62 = zext nneg i16 %switch.tableidx201 to i64 %switch.gep202 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %62 %switch.load203 = load i16, ptr %switch.gep202, align 2 store i16 %switch.load203, ptr %15, align 8 @@ -20654,7 +20654,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %28 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %46, %41 %.fca.1.insert.merged.i.i = phi i16 [ %45, %41 ], [ %48, %46 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %49 = zext i16 %switch.tableidx to i64 + %49 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %49 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) @@ -21682,7 +21682,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %40 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %58, %53 %.fca.1.insert.merged.i.i = phi i16 [ %57, %53 ], [ %60, %58 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %61 = zext i16 %switch.tableidx to i64 + %61 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %61 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) @@ -21711,7 +21711,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %58, %53 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i182: ; preds = %68, %63 %.fca.1.insert.merged.i.i183 = phi i16 [ %67, %63 ], [ %70, %68 ] %switch.tableidx234 = add nsw i16 %.fca.1.insert.merged.i.i183, -5 - %71 = zext i16 %switch.tableidx234 to i64 + %71 = zext nneg i16 %switch.tableidx234 to i64 %switch.gep235 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %71 %switch.load236 = load i16, ptr %switch.gep235, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) @@ -25774,7 +25774,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %39 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %56, %51 %.fca.1.insert.merged.i.i = phi i16 [ %55, %51 ], [ %58, %56 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %59 = zext i16 %switch.tableidx to i64 + %59 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %59 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) @@ -25803,7 +25803,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %56, %51 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i184: ; preds = %67, %62 %.fca.1.insert.merged.i.i185 = phi i16 [ %66, %62 ], [ %69, %67 ] %switch.tableidx239 = add nsw i16 %.fca.1.insert.merged.i.i185, -5 - %70 = zext i16 %switch.tableidx239 to i64 + %70 = zext nneg i16 %switch.tableidx239 to i64 %switch.gep240 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %70 %switch.load241 = load i16, ptr %switch.gep240, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) @@ -27654,7 +27654,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %14 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %31, %26 %.fca.1.insert.merged.i.i = phi i16 [ %30, %26 ], [ %33, %31 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %34 = zext i16 %switch.tableidx to i64 + %34 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %34 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) @@ -27687,7 +27687,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %31, %26 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i56: ; preds = %45, %40 %.fca.1.insert.merged.i.i57 = phi i16 [ %44, %40 ], [ %47, %45 ] %switch.tableidx70 = add nsw i16 %.fca.1.insert.merged.i.i57, -5 - %48 = zext i16 %switch.tableidx70 to i64 + %48 = zext nneg i16 %switch.tableidx70 to i64 %switch.gep71 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %48 %switch.load72 = load i16, ptr %switch.gep71, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) @@ -29893,7 +29893,7 @@ _ZNK4llvm3EVT16isScalableVectorEv.exit: ; preds = %_ZN4llvm5SDLocC2ENS _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %65, %60 %.fca.1.insert.merged.i.i = phi i16 [ %64, %60 ], [ %68, %65 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %69 = zext i16 %switch.tableidx to i64 + %69 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %69 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) @@ -30231,7 +30231,7 @@ define internal fastcc { i16, ptr } @_ZL32getContainerForFixedLengthVectorRN4llv _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %5, %10 %.fca.1.insert.merged.i = phi i16 [ %9, %5 ], [ %12, %10 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i, -5 - %13 = zext i16 %switch.tableidx to i64 + %13 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %13 %switch.load = load i16, ptr %switch.gep, align 2 %.fca.0.insert = insertvalue { i16, ptr } poison, i16 %switch.load, 0 @@ -30382,7 +30382,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %3, %10 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %25, %20 %.fca.1.insert.merged.i.i = phi i16 [ %24, %20 ], [ %27, %25 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %28 = zext i16 %switch.tableidx to i64 + %28 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %28 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) @@ -35990,7 +35990,7 @@ _ZNK4llvm3EVTneES0_.exit: ; preds = %296, %_ZNK4llvm3EVT _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %306, %301 %.fca.1.insert.merged.i.i322 = phi i16 [ %305, %301 ], [ %308, %306 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i322, -5 - %309 = zext i16 %switch.tableidx to i64 + %309 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %309 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) @@ -36816,7 +36816,7 @@ _ZNK4llvm3EVTneES0_.exit: ; preds = %226, %_ZNK4llvm3EVT _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %236, %231 %.fca.1.insert.merged.i.i232 = phi i16 [ %235, %231 ], [ %238, %236 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i232, -5 - %239 = zext i16 %switch.tableidx to i64 + %239 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %239 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) @@ -37212,7 +37212,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %26 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %42, %37 %.fca.1.insert.merged.i.i = phi i16 [ %41, %37 ], [ %44, %42 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %45 = zext i16 %switch.tableidx to i64 + %45 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %45 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) @@ -38290,7 +38290,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %19 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %41, %36 %.fca.1.insert.merged.i.i = phi i16 [ %40, %36 ], [ %43, %41 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %44 = zext i16 %switch.tableidx to i64 + %44 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %44 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) @@ -42925,7 +42925,7 @@ switch.lookup: ; preds = %211, %211, %211, %2 %.sroa.21.0.copyload.i.i243 = load ptr, ptr %.sroa.21.0..sroa_idx.i.i242, align 8, !tbaa !342 %221 = call noundef i32 @_ZN4llvm3ISD15getSetCCInverseENS0_8CondCodeENS_3EVTE(i32 noundef %212, i16 %.sroa.0.0.copyload.i.i241, ptr %.sroa.21.0.copyload.i.i243) #35 %switch.tableidx = add nsw i32 %221, -1 - %222 = zext i32 %switch.tableidx to i64 + %222 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [22 x i64], ptr @switch.table._ZNK4llvm21AArch64TargetLowering10LowerSETCCENS_7SDValueERNS_12SelectionDAGE, i64 0, i64 %222 %switch.load = load i64, ptr %switch.gep, align 8 %223 = call { ptr, i32 } @_ZN4llvm12SelectionDAG11getConstantEmRKNS_5SDLocENS_3EVTEbb(ptr noundef nonnull align 8 dereferenceable(952) %3, i64 noundef %switch.load, ptr noundef nonnull align 8 dereferenceable(12) %21, i16 7, ptr null, i1 noundef zeroext false, i1 noundef zeroext false) #35 @@ -43125,7 +43125,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %_ZNK4llvm3EVTneES0_ %44 = load i32, ptr %43, align 8, !tbaa !827 %45 = call noundef i32 @_ZN4llvm3ISD15getSetCCInverseENS0_8CondCodeENS_3EVTE(i32 noundef %44, i16 %.sroa.0.0.copyload.i.i, ptr %.sroa.21.0.copyload.i.i) #35 %switch.tableidx = add nsw i32 %45, -10 - %46 = zext i32 %switch.tableidx to i64 + %46 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i64], ptr @switch.table._ZNK4llvm21AArch64TargetLowering15LowerSETCCCARRYENS_7SDValueERNS_12SelectionDAGE, i64 0, i64 %46 %switch.load = load i64, ptr %switch.gep, align 8 %47 = call { ptr, i32 } @_ZN4llvm12SelectionDAG11getConstantEmRKNS_5SDLocENS_3EVTEbb(ptr noundef nonnull align 8 dereferenceable(952) %3, i64 noundef %switch.load, ptr noundef nonnull align 8 dereferenceable(12) %6, i16 7, ptr null, i1 noundef zeroext false, i1 noundef zeroext false) #35 @@ -48806,7 +48806,7 @@ _ZNK4llvm3EVTneES0_.exit737.thread893: ; preds = %471 _ZNK4llvm3EVT20getVectorElementTypeEv.exit740: ; preds = %485, %490 %.fca.1.insert.merged.i739 = phi i16 [ %489, %485 ], [ %492, %490 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i739, -5 - %493 = zext i16 %switch.tableidx to i64 + %493 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering17PerformDAGCombineEPNS_6SDNodeERNS_14TargetLowering15DAGCombinerInfoE, i64 0, i64 %493 %switch.load = load i32, ptr %switch.gep, align 4 %.sroa.0321.0.copyload = load i16, ptr %21, align 8, !tbaa !238 @@ -50424,7 +50424,7 @@ _ZL31tryToConvertShuffleOfTbl2ToTbl4N4llvm7SDValueENS_8ArrayRefIiEERNS_12Selecti _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %256, %261 %.fca.1.insert.merged.i = phi i16 [ %260, %256 ], [ %263, %261 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i, -5 - %264 = zext i16 %switch.tableidx to i64 + %264 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering17PerformDAGCombineEPNS_6SDNodeERNS_14TargetLowering15DAGCombinerInfoE, i64 0, i64 %264 %switch.load = load i32, ptr %switch.gep, align 4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #35 @@ -52406,7 +52406,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %102, %105 _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %113, %118 %.fca.1.insert.merged.i = phi i16 [ %117, %113 ], [ %120, %118 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i, -5 - %121 = zext i16 %switch.tableidx to i64 + %121 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %121 %switch.load = load i16, ptr %switch.gep, align 2 %.sroa.044.0.copyload = load i16, ptr %10, align 8, !tbaa !238 @@ -53444,7 +53444,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %21 %26 = getelementptr inbounds nuw i8, ptr %1, i64 24 %27 = load i32, ptr %26, align 8, !tbaa !345 %switch.tableidx = add nsw i32 %27, -180 - %28 = zext i32 %switch.tableidx to i64 + %28 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering11LowerMinMaxENS_7SDValueERNS_12SelectionDAGE, i64 0, i64 %28 %switch.load = load i32, ptr %switch.gep, align 4 %.not.i = icmp eq i16 %.sroa.0.0.copyload.i.i, 0 @@ -55117,7 +55117,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %124, %131 %136 = call { i16, ptr } @_ZNK4llvm3EVT19changeTypeToIntegerEv(ptr noundef nonnull align 8 dereferenceable(16) %18) %137 = extractvalue { i16, ptr } %136, 0 %switch.tableidx = add nsw i16 %137, -5 - %138 = zext i16 %switch.tableidx to i64 + %138 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %138 %switch.load = load i16, ptr %switch.gep, align 2 %.fca.0.insert.i = insertvalue { i16, ptr } poison, i16 %switch.load, 0 @@ -55204,7 +55204,7 @@ _ZNK4llvm16AArch64Subtarget15isNeonAvailableEv.exit210: ; preds = %144, %150, %1 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %171, %166 %.fca.1.insert.merged.i.i = phi i16 [ %170, %166 ], [ %173, %171 ] %switch.tableidx335 = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %174 = zext i16 %switch.tableidx335 to i64 + %174 = zext nneg i16 %switch.tableidx335 to i64 %switch.gep336 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %174 %switch.load337 = load i16, ptr %switch.gep336, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) @@ -55325,7 +55325,7 @@ switch.lookup: ; preds = %202 %switch.shiftamt = shl nuw nsw i64 %switch.cast, 4 %switch.downshift = lshr i64 21955305884745778, %switch.shiftamt %switch.masked = trunc i64 %switch.downshift to i16 - %205 = zext i16 %switch.tableidx338 to i64 + %205 = zext nneg i16 %switch.tableidx338 to i64 %switch.gep339 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering14LowerFCOPYSIGNENS_7SDValueERNS_12SelectionDAGE.199, i64 0, i64 %205 %switch.load340 = load i32, ptr %switch.gep339, align 4 br label %_ZNK4llvm3EVTeqES0_.exit @@ -56711,7 +56711,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %11 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %32, %27 %.fca.1.insert.merged.i.i = phi i16 [ %31, %27 ], [ %34, %32 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %35 = zext i16 %switch.tableidx to i64 + %35 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %35 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) @@ -56886,7 +56886,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %51, %46 %.fca.1.insert.merged.i150 = phi { i16, ptr } [ %.fca.1.insert.merged.i151, %46 ], [ %39, %51 ] %.fca.1.insert.merged.i.i = phi i16 [ %50, %46 ], [ %54, %51 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %55 = zext i16 %switch.tableidx to i64 + %55 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %55 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) @@ -58609,7 +58609,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %27 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %43, %38 %.fca.1.insert.merged.i.i = phi i16 [ %42, %38 ], [ %45, %43 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %46 = zext i16 %switch.tableidx to i64 + %46 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %46 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) @@ -58989,7 +58989,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %21 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %42, %37 %.fca.1.insert.merged.i.i = phi i16 [ %41, %37 ], [ %44, %42 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %45 = zext i16 %switch.tableidx to i64 + %45 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %45 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) @@ -59042,7 +59042,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %42, %37 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i107: ; preds = %66, %61 %.fca.1.insert.merged.i.i108 = phi i16 [ %65, %61 ], [ %68, %66 ] %switch.tableidx121 = add nsw i16 %.fca.1.insert.merged.i.i108, -5 - %69 = zext i16 %switch.tableidx121 to i64 + %69 = zext nneg i16 %switch.tableidx121 to i64 %switch.gep122 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %69 %switch.load123 = load i16, ptr %switch.gep122, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) @@ -76817,7 +76817,7 @@ _ZNK4llvm3EVT9isIntegerEv.exit: ; preds = %104 switch.lookup: ; preds = %107, %_ZNK4llvm3EVT9isIntegerEv.exit.thread, %_ZNK4llvm3EVT9isIntegerEv.exit %switch.tableidx = add nsw i32 %67, -10 - %110 = zext i32 %switch.tableidx to i64 + %110 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL18emitConjunctionRecRN4llvm12SelectionDAGENS_7SDValueERNS_9AArch64CC8CondCodeEbS2_S4_, i64 0, i64 %110 %switch.load = load i32, ptr %switch.gep, align 4 %111 = call fastcc { ptr, i32 } @_ZL20EmitVectorComparisonN4llvm7SDValueES0_NS_9AArch64CC8CondCodeEbNS_3EVTERKNS_5SDLocERNS_12SelectionDAGE(ptr nonnull %.sroa.0297.0.copyload, i32 %.sroa.18304.0.copyload, ptr %.sroa.0277.0.copyload, i32 %.sroa.13.0.copyload, i32 noundef %switch.load, i1 noundef zeroext false, i16 %80, ptr %81, ptr noundef nonnull align 8 dereferenceable(12) %11, ptr noundef nonnull align 8 dereferenceable(952) %3) @@ -77360,7 +77360,7 @@ declare { ptr, i32 } @_ZN4llvm12SelectionDAG7getNodeEjRKNS_5SDLocENS_8SDVTListEN define internal fastcc noundef range(i32 0, 14) i32 @_ZL22changeIntCCToAArch64CCN4llvm3ISD8CondCodeE(i32 noundef %0) unnamed_addr #4 { switch.lookup: %switch.tableidx = add nsw i32 %0, -10 - %1 = zext i32 %switch.tableidx to i64 + %1 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL18emitConjunctionRecRN4llvm12SelectionDAGENS_7SDValueERNS_9AArch64CC8CondCodeEbS2_S4_, i64 0, i64 %1 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -88649,7 +88649,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %_ZNK4llvm19ShuffleV _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %106, %101 %.fca.1.insert.merged.i.i = phi i16 [ %105, %101 ], [ %108, %106 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %109 = zext i16 %switch.tableidx to i64 + %109 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %109 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) @@ -89175,7 +89175,7 @@ _ZN4llvm3EVT12getIntegerVTERNS_11LLVMContextEj.exit: ; preds = %.loopexit872 %297 = call { i16, ptr } @_ZN4llvm3EVT20getExtendedIntegerVTERNS_11LLVMContextEj(ptr noundef nonnull align 8 dereferenceable(8) %296, i32 noundef %251) #35 %298 = extractvalue { i16, ptr } %297, 0 %switch.tableidx935 = add nsw i16 %298, -5 - %299 = zext i16 %switch.tableidx935 to i64 + %299 = zext nneg i16 %switch.tableidx935 to i64 %switch.gep936 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %299 br label %_ZL20getPackedSVEVectorVTN4llvm3EVTE.exit @@ -92847,7 +92847,7 @@ _ZNK4llvm3EVT15isFloatingPointEv.exit.thread: ; preds = %77, %81 %83 = shl nuw nsw i32 %42, 1 %84 = add nsw i32 %83, -16 %85 = call i32 @llvm.fshl.i32(i32 %84, i32 %84, i32 28) - %86 = zext i32 %85 to i64 + %86 = zext nneg i32 %85 to i64 %switch.gep = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZNK4llvm21AArch64TargetLowering14shouldLocalizeERKNS_12MachineInstrEPKNS_19TargetTransformInfoE, i64 0, i64 %86 %switch.load = load i16, ptr %switch.gep, align 2 br label %_ZN4llvm3MVT18getFloatingPointVTEj.exit @@ -93525,7 +93525,7 @@ _ZNK4llvm3EVTeqES0_.exit382: ; preds = %_ZNK4llvm3EVT20getV _ZNK4llvm3EVT20getVectorElementTypeEv.exit385: ; preds = %215, %220 %.fca.1.insert.merged.i384 = phi i16 [ %219, %215 ], [ %222, %220 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i384, -5 - %223 = zext i16 %switch.tableidx to i64 + %223 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering17PerformDAGCombineEPNS_6SDNodeERNS_14TargetLowering15DAGCombinerInfoE, i64 0, i64 %223 %switch.load = load i32, ptr %switch.gep, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #35 @@ -95373,7 +95373,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %33 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %44, %39 %.fca.1.insert.merged.i.i = phi i16 [ %43, %39 ], [ %46, %44 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %47 = zext i16 %switch.tableidx to i64 + %47 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %47 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) @@ -97276,7 +97276,7 @@ _ZN4llvm23SmallVectorTemplateBaseINS_7SDValueELb1EE9push_backES1_.exit: ; preds _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %81, %76 %.fca.1.insert.merged.i.i = phi i16 [ %80, %76 ], [ %83, %81 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %84 = zext i16 %switch.tableidx to i64 + %84 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %84 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) @@ -97428,7 +97428,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %17 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %37, %32 %.fca.1.insert.merged.i.i = phi i16 [ %36, %32 ], [ %39, %37 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %40 = zext i16 %switch.tableidx to i64 + %40 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %40 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) @@ -97563,7 +97563,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %23 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %34, %29 %.fca.1.insert.merged.i.i = phi i16 [ %33, %29 ], [ %36, %34 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %37 = zext i16 %switch.tableidx to i64 + %37 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %37 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) @@ -97708,7 +97708,7 @@ _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %43, %48 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %67, %62 %.fca.1.insert.merged.i.i = phi i16 [ %66, %62 ], [ %69, %67 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %70 = zext i16 %switch.tableidx to i64 + %70 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %70 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) @@ -99711,7 +99711,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %16 _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %36, %31 %.fca.1.insert.merged.i.i = phi i16 [ %35, %31 ], [ %38, %36 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %39 = zext i16 %switch.tableidx to i64 + %39 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %39 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) @@ -100917,7 +100917,7 @@ _ZNK4llvm16AArch64Subtarget27useSVEForFixedLengthVectorsEv.exit: ; preds = %_ZNK _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %70, %65 %.fca.1.insert.merged.i.i = phi i16 [ %69, %65 ], [ %72, %70 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %73 = zext i16 %switch.tableidx to i64 + %73 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %73 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) @@ -101065,7 +101065,7 @@ _ZNK4llvm3EVT19isFixedLengthVectorEv.exit: ; preds = %121, %123 switch.lookup: ; preds = %_ZNK4llvm3EVT19isFixedLengthVectorEv.exit %switch.tableidx192 = add nsw i16 %.sroa.0138.0, -5 - %126 = zext i16 %switch.tableidx192 to i64 + %126 = zext nneg i16 %switch.tableidx192 to i64 %switch.gep193 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %126 %switch.load194 = load i16, ptr %switch.gep193, align 2 br label %_ZL20getPackedSVEVectorVTN4llvm3EVTE.exit @@ -120374,7 +120374,7 @@ _ZNK4llvm3EVT13is64BitVectorEv.exit.thread.i942: ; preds = %_ZN4llvm11SmallVect _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i954: ; preds = %2454, %2449 %.fca.1.insert.merged.i.i955 = phi i16 [ %2453, %2449 ], [ %2456, %2454 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i955, -5 - %2457 = zext i16 %switch.tableidx to i64 + %2457 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering17PerformDAGCombineEPNS_6SDNodeERNS_14TargetLowering15DAGCombinerInfoE, i64 0, i64 %2457 %switch.load = load i32, ptr %switch.gep, align 4 %2458 = load ptr, ptr %232, align 8, !tbaa !1773 @@ -142179,7 +142179,7 @@ _ZNK4llvm3EVT14is128BitVectorEv.exit: ; preds = %56 _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %64, %69 %.fca.1.insert.merged.i = phi i16 [ %68, %64 ], [ %72, %69 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i, -5 - %73 = zext i16 %switch.tableidx to i64 + %73 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %73 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #35 @@ -151776,7 +151776,7 @@ _ZNK4llvm17MachineMemOperand17getMergedOrderingEv.exit.i: ; preds = %524 %531 = trunc nuw i8 %530 to i1 %.v.i.i = select i1 %531, i16 %520, i16 %521 %switch.tableidx = add nsw i16 %.v.i.i, -2 - %532 = zext i16 %switch.tableidx to i64 + %532 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering18ReplaceNodeResultsEPNS_6SDNodeERNS_15SmallVectorImplINS_7SDValueEEERNS_12SelectionDAGE, i64 0, i64 %532 %switch.load = load i32, ptr %switch.gep, align 4 br label %_ZNK4llvm17MachineMemOperand17getMergedOrderingEv.exit.thread.i @@ -151999,7 +151999,7 @@ _ZNK4llvm17MachineMemOperand17getMergedOrderingEv.exit112.i: ; preds = %612 %619 = trunc nuw i8 %618 to i1 %.v.i110.i = select i1 %619, i16 %608, i16 %609 %switch.tableidx688 = add nsw i16 %.v.i110.i, -2 - %620 = zext i16 %switch.tableidx688 to i64 + %620 = zext nneg i16 %switch.tableidx688 to i64 %switch.gep689 = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZNK4llvm21AArch64TargetLowering18ReplaceNodeResultsEPNS_6SDNodeERNS_15SmallVectorImplINS_7SDValueEEERNS_12SelectionDAGE.205, i64 0, i64 %620 %switch.load690 = load i32, ptr %switch.gep689, align 4 br label %_ZNK4llvm17MachineMemOperand17getMergedOrderingEv.exit112.thread.i @@ -156761,7 +156761,7 @@ _ZNK4llvm8Function10hasOptSizeEv.exit.thread: ; preds = %_ZN4llvm7APFloatC2E %66 = phi i1 [ true, %_ZNK4llvm8Function10hasOptSizeEv.exit ], [ %65, %63 ], [ true, %_ZN4llvm7APFloatC2ERKS0_.exit ] %67 = add nsw i32 %.0.i, -16 %68 = call i32 @llvm.fshl.i32(i32 %67, i32 %67, i32 28) - %69 = zext i32 %68 to i64 + %69 = zext nneg i32 %68 to i64 %switch.gep = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZNK4llvm21AArch64TargetLowering14shouldLocalizeERKNS_12MachineInstrEPKNS_19TargetTransformInfoE, i64 0, i64 %69 %switch.load = load i16, ptr %switch.gep, align 2 %70 = load ptr, ptr %0, align 8, !tbaa !11 @@ -157253,7 +157253,7 @@ _ZNSt8optionalIjEaSIN4llvm21AArch64SVEPredPattern16SVEPREDPATValuesEEENSt9enable _ZNK4llvm3EVT20getVectorElementTypeEv.exit: ; preds = %54, %59 %.fca.1.insert.merged.i = phi i16 [ %58, %54 ], [ %61, %59 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i, -5 - %62 = zext i16 %switch.tableidx to i64 + %62 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL32getPredicateForFixedLengthVectorRN4llvm12SelectionDAGERNS_5SDLocENS_3EVTE, i64 0, i64 %62 %switch.load = load i16, ptr %switch.gep, align 2 %63 = load ptr, ptr %1, align 8, !tbaa !353 @@ -158137,7 +158137,7 @@ _ZN4llvm23SmallVectorTemplateBaseINS_7SDValueELb1EE9push_backES1_.exit314: ; pre _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i: ; preds = %240, %235 %.fca.1.insert.merged.i.i = phi i16 [ %239, %235 ], [ %242, %240 ] %switch.tableidx = add nsw i16 %.fca.1.insert.merged.i.i, -5 - %243 = zext i16 %switch.tableidx to i64 + %243 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %243 %switch.load = load i16, ptr %switch.gep, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) @@ -158344,7 +158344,7 @@ _ZN4llvm5APIntD2Ev.exit: ; preds = %_ZN4llvm5APIntD2Ev. _ZNK4llvm3EVT20getVectorElementTypeEv.exit.i334: ; preds = %311, %306 %.fca.1.insert.merged.i.i335 = phi i16 [ %310, %306 ], [ %313, %311 ] %switch.tableidx75 = add nsw i16 %.fca.1.insert.merged.i.i335, -5 - %314 = zext i16 %switch.tableidx75 to i64 + %314 = zext nneg i16 %switch.tableidx75 to i64 %switch.gep76 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %314 %switch.load77 = load i16, ptr %switch.gep76, align 2 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) @@ -163982,7 +163982,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %41, %44 switch.lookup: ; preds = %_ZN4llvm5SDLocC2ENS_7SDValueE.exit %switch.tableidx = add nsw i32 %.0106, -10 - %49 = zext i32 %switch.tableidx to i64 + %49 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL18emitConjunctionRecRN4llvm12SelectionDAGENS_7SDValueERNS_9AArch64CC8CondCodeEbS2_S4_, i64 0, i64 %49 %switch.load = load i32, ptr %switch.gep, align 4 br label %thread-pre-split @@ -164495,7 +164495,7 @@ _ZN4llvm5APIntD2Ev.exit: ; preds = %_ZNK4llvm5APInt12ge %125 = zext i32 %6 to i64 %126 = call { ptr, i32 } @_ZN4llvm12SelectionDAG11getConstantEmRKNS_5SDLocENS_3EVTEbb(ptr noundef nonnull align 8 dereferenceable(952) %9, i64 noundef %125, ptr noundef nonnull align 8 dereferenceable(12) %8, i16 7, ptr null, i1 noundef zeroext false, i1 noundef zeroext false) #35 %127 = xor i32 %7, 1 - %128 = zext i32 %127 to i64 + %128 = zext nneg i32 %127 to i64 %switch.gep = getelementptr inbounds nuw [14 x i64], ptr @switch.table._ZL25emitConditionalComparisonN4llvm7SDValueES0_NS_3ISD8CondCodeES0_NS_9AArch64CC8CondCodeES4_RKNS_5SDLocERNS_12SelectionDAGE, i64 0, i64 %128 %switch.load = load i64, ptr %switch.gep, align 8 %.fca.1.extract10 = extractvalue { ptr, i32 } %126, 1 @@ -164582,7 +164582,7 @@ _ZNK4llvm5APInt12getSExtValueEv.exit: ; preds = %25, %32 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal fastcc noundef range(i32 0, 9) i32 @_ZN4llvm9AArch64CCL24getNZCVToSatisfyCondCodeENS0_8CondCodeE(i32 noundef %0) unnamed_addr #15 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [14 x i32], ptr @switch.table._ZN4llvm9AArch64CCL24getNZCVToSatisfyCondCodeENS0_8CondCodeE, i64 0, i64 %1 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -174790,7 +174790,7 @@ _ZNK4llvm3EVT6bitsGTES0_.exit: ; preds = %_ZNK4llvm3EVT13getS switch.lookup: ; preds = %_ZNK4llvm3EVT6bitsGTES0_.exit %switch.tableidx = add nsw i16 %.sroa.0.0.copyload.i.fr, -5 - %76 = zext i16 %switch.tableidx to i64 + %76 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %76 %switch.load = load i16, ptr %switch.gep, align 2 store i16 %switch.load, ptr %10, align 8, !tbaa !238 @@ -174805,7 +174805,7 @@ switch.lookup: ; preds = %_ZNK4llvm3EVT6bitsG _ZNK4llvm3EVT6bitsGTES0_.exit.thread: ; preds = %57, %_ZNK4llvm3EVT6bitsGTES0_.exit.thread133, %_ZNK4llvm3EVT6bitsGTES0_.exit %switch.tableidx143 = add nsw i16 %.sroa.0.0.copyload.i.i.fr, -5 - %80 = zext i16 %switch.tableidx143 to i64 + %80 = zext nneg i16 %switch.tableidx143 to i64 %switch.gep144 = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %80 %switch.load145 = load i16, ptr %switch.gep144, align 2 store i16 %switch.load145, ptr %9, align 8, !tbaa !238 @@ -175900,7 +175900,7 @@ _ZN4llvm5SDLocC2EPKNS_6SDNodeE.exit: ; preds = %3, %9 %19 = load ptr, ptr %18, align 8, !tbaa !327 %.sroa.0.0.copyload.i = load i16, ptr %19, align 8, !tbaa !238 %switch.tableidx = add nsw i16 %.sroa.0.0.copyload.i, -5 - %20 = zext i16 %switch.tableidx to i64 + %20 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @switch.table._ZL22combineSVEReductionIntPN4llvm6SDNodeEjRNS_12SelectionDAGE, i64 0, i64 %20 %switch.load = load i16, ptr %switch.gep, align 2 %21 = call { ptr, i32 } @_ZN4llvm12SelectionDAG7getNodeEjRKNS_5SDLocENS_3EVTENS_7SDValueES5_(ptr noundef nonnull align 8 dereferenceable(952) %2, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(12) %4, i16 %switch.load, ptr null, ptr noundef nonnull byval(%"class.llvm::SDValue") align 8 %16, ptr noundef nonnull byval(%"class.llvm::SDValue") align 8 %17) #35 diff --git a/bench/llvm/optimized/AttrImpl.ll b/bench/llvm/optimized/AttrImpl.ll index 94992c1aae0..4ccacd346a1 100644 --- a/bench/llvm/optimized/AttrImpl.ll +++ b/bench/llvm/optimized/AttrImpl.ll @@ -2120,7 +2120,7 @@ _ZN4llvm11raw_ostreamlsEc.exit14: ; preds = %38, %40 %.0.i13 = phi ptr [ %39, %38 ], [ %1, %40 ] %42 = getelementptr inbounds nuw i8, ptr %0, i64 36 %43 = load i32, ptr %42, align 4, !tbaa !19 - %44 = zext i32 %43 to i64 + %44 = zext nneg i32 %43 to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table._ZN5clang12LoopHintAttr22ConvertOptionTypeToStrENS0_10OptionTypeE, i64 0, i64 %44 %switch.load = load ptr, ptr %switch.gep, align 8 %45 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -2654,7 +2654,7 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i29 switch.lookup: ; preds = %_ZNK5clang19AttributeCommonInfo29getAttributeSpellingListIndexEv.exit %88 = getelementptr inbounds nuw i8, ptr %1, i64 36 %89 = load i32, ptr %88, align 4, !tbaa !19 - %90 = zext i32 %89 to i64 + %90 = zext nneg i32 %89 to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table._ZN5clang12LoopHintAttr22ConvertOptionTypeToStrENS0_10OptionTypeE, i64 0, i64 %90 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #17 @@ -2754,7 +2754,7 @@ define dso_local void @_ZNK5clang22OMPDeclareSimdDeclAttr17printPrettyPragmaERN4 _ZN4llvm11raw_ostreamlsEc.exit: ; preds = %17, %19 %.0.i = phi ptr [ %18, %17 ], [ %1, %19 ] %21 = load i32, ptr %10, align 4, !tbaa !53 - %22 = zext i32 %21 to i64 + %22 = zext nneg i32 %21 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang22OMPDeclareSimdDeclAttr25ConvertBranchStateTyToStrENS0_13BranchStateTyE, i64 0, i64 %22 %switch.load = load ptr, ptr %switch.gep, align 8 %23 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -3215,7 +3215,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit125: ; preds = %236, %238 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang22OMPDeclareSimdDeclAttr25ConvertBranchStateTyToStrENS0_13BranchStateTyE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang22OMPDeclareSimdDeclAttr25ConvertBranchStateTyToStrENS0_13BranchStateTyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -3259,7 +3259,7 @@ define dso_local void @_ZNK5clang24OMPDeclareTargetDeclAttr17printPrettyPragmaER _ZN4llvm11raw_ostreamlsEPKc.exit: ; preds = %16, %18 %.0.i.i = phi ptr [ %17, %16 ], [ %1, %18 ] %21 = load i32, ptr %5, align 8, !tbaa !70 - %22 = zext i32 %21 to i64 + %22 = zext nneg i32 %21 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang24OMPDeclareTargetDeclAttr21ConvertDevTypeTyToStrENS0_9DevTypeTyE, i64 0, i64 %22 %switch.load = load ptr, ptr %switch.gep, align 8 %23 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -3337,7 +3337,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %44, %42, %3 _ZN4llvm11raw_ostreamlsEc.exit: ; preds = %55, %57 %.0.i19 = phi ptr [ %56, %55 ], [ %1, %57 ] %59 = load i32, ptr %48, align 4, !tbaa !75 - %60 = zext i32 %59 to i64 + %60 = zext nneg i32 %59 to i64 %switch.gep33 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang24OMPDeclareTargetDeclAttr21ConvertMapTypeTyToStrENS0_9MapTypeTyE, i64 0, i64 %60 %switch.load34 = load ptr, ptr %switch.gep33, align 8 %61 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load34) #17 @@ -3450,7 +3450,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit29: ; preds = %116, %114, %98, %96 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang24OMPDeclareTargetDeclAttr21ConvertDevTypeTyToStrENS0_9DevTypeTyE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang24OMPDeclareTargetDeclAttr21ConvertDevTypeTyToStrENS0_9DevTypeTyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -3459,7 +3459,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang24OMPDeclareTargetDeclAttr21ConvertMapTypeTyToStrENS0_9MapTypeTyE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang24OMPDeclareTargetDeclAttr21ConvertMapTypeTyToStrENS0_9MapTypeTyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -9031,7 +9031,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang16ARMInterruptAttr13InterruptTypeEES5_ ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang16ARMInterruptAttr25ConvertInterruptTypeToStrENS0_13InterruptTypeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang16ARMInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1327, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -9185,7 +9185,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %39, %41 %.0.i.i17 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !157 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang16ARMInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1327, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -9329,7 +9329,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit37: ; preds = %109, %111 %.0.i.i36 = phi ptr [ %110, %109 ], [ %1, %111 ] %114 = getelementptr inbounds nuw i8, ptr %0, i64 36 %115 = load i32, ptr %114, align 4, !tbaa !157 - %116 = zext i32 %115 to i64 + %116 = zext nneg i32 %115 to i64 %switch.gep91 = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang16ARMInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1327, i64 0, i64 %116 %switch.load92 = load ptr, ptr %switch.gep91, align 8 %117 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load92) #17 @@ -9473,7 +9473,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit58: ; preds = %179, %181 %.0.i.i57 = phi ptr [ %180, %179 ], [ %1, %181 ] %184 = getelementptr inbounds nuw i8, ptr %0, i64 36 %185 = load i32, ptr %184, align 4, !tbaa !157 - %186 = zext i32 %185 to i64 + %186 = zext nneg i32 %185 to i64 %switch.gep93 = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang16ARMInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1327, i64 0, i64 %186 %switch.load94 = load ptr, ptr %switch.gep93, align 8 %187 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load94) #17 @@ -11501,7 +11501,7 @@ define dso_local noundef ptr @_ZN5clang21AcquireCapabilityAttr14CreateImplicitER switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang21AcquireCapabilityAttr6CreateERNS_10ASTContextEPPNS_4ExprEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -11574,7 +11574,7 @@ define dso_local noundef ptr @_ZN5clang21AcquireCapabilityAttr6CreateERNS_10ASTC switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang21AcquireCapabilityAttr6CreateERNS_10ASTContextEPPNS_4ExprEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -12507,7 +12507,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang21AcquireCapabilityAttr11getSpel switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang21AcquireCapabilityAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -17103,7 +17103,7 @@ define dso_local noundef ptr @_ZN5clang11AlignedAttr14CreateImplicitERNS_10ASTCo switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang11AlignedAttr6CreateERNS_10ASTContextEbPvNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -17176,7 +17176,7 @@ define dso_local noundef ptr @_ZN5clang11AlignedAttr6CreateERNS_10ASTContextEbPv switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang11AlignedAttr6CreateERNS_10ASTContextEbPvNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -18149,7 +18149,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang11AlignedAttr11getSpellingEv(ptr switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang11AlignedAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -20523,7 +20523,7 @@ define dso_local noundef ptr @_ZN5clang16AlwaysInlineAttr14CreateImplicitERNS_10 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang16AlwaysInlineAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -20596,7 +20596,7 @@ define dso_local noundef ptr @_ZN5clang16AlwaysInlineAttr6CreateERNS_10ASTContex switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang16AlwaysInlineAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -26054,7 +26054,7 @@ define dso_local noundef ptr @_ZN5clang23ArgumentWithTypeTagAttr14CreateImplicit switch.lookup: %7 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #17 - %8 = zext i32 %6 to i64 + %8 = zext nneg i32 %6 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %8 %switch.load = load i32, ptr %switch.gep, align 4 %9 = getelementptr inbounds nuw i8, ptr %7, i64 16 @@ -26127,7 +26127,7 @@ define dso_local noundef ptr @_ZN5clang23ArgumentWithTypeTagAttr6CreateERNS_10AS switch.lookup: %7 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #17 - %8 = zext i32 %6 to i64 + %8 = zext nneg i32 %6 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %8 %switch.load = load i32, ptr %switch.gep, align 4 %9 = getelementptr inbounds nuw i8, ptr %7, i64 16 @@ -26282,7 +26282,7 @@ define dso_local noundef ptr @_ZN5clang23ArgumentWithTypeTagAttr14CreateImplicit switch.lookup: %6 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #17 - %7 = zext i32 %5 to i64 + %7 = zext nneg i32 %5 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %7 %switch.load = load i32, ptr %switch.gep, align 4 %8 = getelementptr inbounds nuw i8, ptr %6, i64 16 @@ -26355,7 +26355,7 @@ define dso_local noundef ptr @_ZN5clang23ArgumentWithTypeTagAttr6CreateERNS_10AS switch.lookup: %6 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #17 - %7 = zext i32 %5 to i64 + %7 = zext nneg i32 %5 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %7 %switch.load = load i32, ptr %switch.gep, align 4 %8 = getelementptr inbounds nuw i8, ptr %6, i64 16 @@ -35230,7 +35230,7 @@ define dso_local noundef ptr @_ZN5clang20AssertCapabilityAttr14CreateImplicitERN switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang24TryAcquireCapabilityAttr6CreateERNS_10ASTContextEPNS_4ExprEPS4_jNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -35303,7 +35303,7 @@ define dso_local noundef ptr @_ZN5clang20AssertCapabilityAttr6CreateERNS_10ASTCo switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang24TryAcquireCapabilityAttr6CreateERNS_10ASTContextEPNS_4ExprEPS4_jNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -45263,7 +45263,7 @@ define dso_local noundef ptr @_ZN5clang16BuiltinAliasAttr14CreateImplicitERNS_10 switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang16BuiltinAliasAttr6CreateERNS_10ASTContextEPNS_14IdentifierInfoENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -45336,7 +45336,7 @@ define dso_local noundef ptr @_ZN5clang16BuiltinAliasAttr6CreateERNS_10ASTContex switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang16BuiltinAliasAttr6CreateERNS_10ASTContextEPNS_14IdentifierInfoENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -46365,7 +46365,7 @@ define dso_local noundef ptr @_ZN5clang9CDeclAttr14CreateImplicitERNS_10ASTConte switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -46438,7 +46438,7 @@ define dso_local noundef ptr @_ZN5clang9CDeclAttr6CreateERNS_10ASTContextENS_11S switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -46768,7 +46768,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang9CDeclAttr11getSpellingEv(ptr no switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang9CDeclAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -47863,7 +47863,7 @@ define dso_local noundef ptr @_ZN5clang11CFGuardAttr14CreateImplicitERNS_10ASTCo switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -47936,7 +47936,7 @@ define dso_local noundef ptr @_ZN5clang11CFGuardAttr6CreateERNS_10ASTContextENS0 switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -57087,7 +57087,7 @@ define dso_local noundef ptr @_ZN5clang17CXX11NoReturnAttr14CreateImplicitERNS_1 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang17CXX11NoReturnAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -57160,7 +57160,7 @@ define dso_local noundef ptr @_ZN5clang17CXX11NoReturnAttr6CreateERNS_10ASTConte switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang17CXX11NoReturnAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -57590,7 +57590,7 @@ define dso_local noundef ptr @_ZN5clang13CXXAssumeAttr14CreateImplicitERNS_10AST switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang12SuppressAttr6CreateERNS_10ASTContextEPN4llvm9StringRefEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -57663,7 +57663,7 @@ define dso_local noundef ptr @_ZN5clang13CXXAssumeAttr6CreateERNS_10ASTContextEP switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang12SuppressAttr6CreateERNS_10ASTContextEPN4llvm9StringRefEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -58531,7 +58531,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang16CallableWhenAttr13ConsumedStateEES5_ ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang16CallableWhenAttr25ConvertConsumedStateToStrENS0_13ConsumedStateE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -58712,7 +58712,7 @@ _ZN5clangL24DelimitAttributeArgumentERN4llvm11raw_ostreamERb.exit: ; preds = %37 _ZN4llvm11raw_ostreamlsEPKc.exit39: ; preds = %55, %57 %.0.i.i38 = phi ptr [ %56, %55 ], [ %1, %57 ] %60 = load i32, ptr %.094, align 4, !tbaa !306 - %61 = zext i32 %60 to i64 + %61 = zext nneg i32 %60 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %61 %switch.load = load ptr, ptr %switch.gep, align 8 %62 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -58891,7 +58891,7 @@ _ZN5clangL24DelimitAttributeArgumentERN4llvm11raw_ostreamERb.exit63: ; preds = % _ZN4llvm11raw_ostreamlsEPKc.exit66: ; preds = %142, %144 %.0.i.i65 = phi ptr [ %143, %142 ], [ %1, %144 ] %147 = load i32, ptr %.02991, align 4, !tbaa !306 - %148 = zext i32 %147 to i64 + %148 = zext nneg i32 %147 to i64 %switch.gep100 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %148 %switch.load101 = load ptr, ptr %switch.gep100, align 8 %149 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load101) #17 @@ -60372,7 +60372,7 @@ define dso_local noundef ptr @_ZN5clang14CapabilityAttr14CreateImplicitERNS_10AS switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang24TryAcquireCapabilityAttr6CreateERNS_10ASTContextEPNS_4ExprEPS4_jNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -60445,7 +60445,7 @@ define dso_local noundef ptr @_ZN5clang14CapabilityAttr6CreateERNS_10ASTContextE switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang24TryAcquireCapabilityAttr6CreateERNS_10ASTContextEPNS_4ExprEPS4_jNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -64955,7 +64955,7 @@ _ZN4llvm12StringSwitchISt8optionalINS_9CodeModel5ModelEES4_E4CaseENS_13StringLit define dso_local noundef nonnull ptr @_ZN5clang13CodeModelAttr17ConvertModelToStrEN4llvm9CodeModel5ModelE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: %switch.tableidx = add nsw i32 %0, -1 - %1 = zext i32 %switch.tableidx to i64 + %1 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang13CodeModelAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1330, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -65110,7 +65110,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %39, %41 %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !328 %switch.tableidx = add nsw i32 %45, -1 - %46 = zext i32 %switch.tableidx to i64 + %46 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang13CodeModelAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1330, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -65255,7 +65255,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit37: ; preds = %109, %111 %114 = getelementptr inbounds nuw i8, ptr %0, i64 36 %115 = load i32, ptr %114, align 4, !tbaa !328 %switch.tableidx91 = add nsw i32 %115, -1 - %116 = zext i32 %switch.tableidx91 to i64 + %116 = zext nneg i32 %switch.tableidx91 to i64 %switch.gep92 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang13CodeModelAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1330, i64 0, i64 %116 %switch.load93 = load ptr, ptr %switch.gep92, align 8 %117 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load93) #17 @@ -65400,7 +65400,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit58: ; preds = %179, %181 %184 = getelementptr inbounds nuw i8, ptr %0, i64 36 %185 = load i32, ptr %184, align 4, !tbaa !328 %switch.tableidx94 = add nsw i32 %185, -1 - %186 = zext i32 %switch.tableidx94 to i64 + %186 = zext nneg i32 %switch.tableidx94 to i64 %switch.gep95 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang13CodeModelAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1330, i64 0, i64 %186 %switch.load96 = load ptr, ptr %switch.gep95, align 8 %187 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load96) #17 @@ -67733,7 +67733,7 @@ define dso_local noundef ptr @_ZN5clang13ConstInitAttr14CreateImplicitERNS_10AST switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang13ConstInitAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -67806,7 +67806,7 @@ define dso_local noundef ptr @_ZN5clang13ConstInitAttr6CreateERNS_10ASTContextEN switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang13ConstInitAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -69018,7 +69018,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang14ConsumableAttr13ConsumedStateEES5_E4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang14ConsumableAttr25ConvertConsumedStateToStrENS0_13ConsumedStateE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -69166,7 +69166,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit13: ; preds = %38, %40 %.0.i.i12 = phi ptr [ %39, %38 ], [ %1, %40 ] %43 = getelementptr inbounds nuw i8, ptr %0, i64 36 %44 = load i32, ptr %43, align 4, !tbaa !337 - %45 = zext i32 %44 to i64 + %45 = zext nneg i32 %44 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %45 %switch.load = load ptr, ptr %switch.gep, align 8 %46 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -69310,7 +69310,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit32: ; preds = %108, %110 %.0.i.i31 = phi ptr [ %109, %108 ], [ %1, %110 ] %113 = getelementptr inbounds nuw i8, ptr %0, i64 36 %114 = load i32, ptr %113, align 4, !tbaa !337 - %115 = zext i32 %114 to i64 + %115 = zext nneg i32 %114 to i64 %switch.gep58 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %115 %switch.load59 = load ptr, ptr %switch.gep58, align 8 %116 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load59) #17 @@ -75718,7 +75718,7 @@ define dso_local noundef ptr @_ZN5clang13DLLExportAttr14CreateImplicitERNS_10AST switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -75791,7 +75791,7 @@ define dso_local noundef ptr @_ZN5clang13DLLExportAttr6CreateERNS_10ASTContextEN switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -76565,7 +76565,7 @@ define dso_local noundef ptr @_ZN5clang13DLLImportAttr14CreateImplicitERNS_10AST switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -76638,7 +76638,7 @@ define dso_local noundef ptr @_ZN5clang13DLLImportAttr6CreateERNS_10ASTContextEN switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -77423,7 +77423,7 @@ switch.lookup: %7 = alloca %"class.llvm::StringRef", align 8 %8 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #17 - %9 = zext i32 %6 to i64 + %9 = zext nneg i32 %6 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang14DeprecatedAttr6CreateERNS_10ASTContextEN4llvm9StringRefES4_NS_11SourceRangeENS0_8SpellingE, i64 0, i64 %9 %switch.load = load i32, ptr %switch.gep, align 4 %10 = getelementptr inbounds nuw i8, ptr %8, i64 16 @@ -77502,7 +77502,7 @@ switch.lookup: %7 = alloca %"class.llvm::StringRef", align 8 %8 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #17 - %9 = zext i32 %6 to i64 + %9 = zext nneg i32 %6 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang14DeprecatedAttr6CreateERNS_10ASTContextEN4llvm9StringRefES4_NS_11SourceRangeENS0_8SpellingE, i64 0, i64 %9 %switch.load = load i32, ptr %switch.gep, align 4 %10 = getelementptr inbounds nuw i8, ptr %8, i64 16 @@ -86108,7 +86108,7 @@ define dso_local noundef ptr @_ZN5clang9ErrorAttr14CreateImplicitERNS_10ASTConte switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -86181,7 +86181,7 @@ define dso_local noundef ptr @_ZN5clang9ErrorAttr6CreateERNS_10ASTContextEN4llvm switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -90599,7 +90599,7 @@ define dso_local noundef ptr @_ZN5clang15FallThroughAttr14CreateImplicitERNS_10A switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang20WarnUnusedResultAttr6CreateERNS_10ASTContextEN4llvm9StringRefENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -90672,7 +90672,7 @@ define dso_local noundef ptr @_ZN5clang15FallThroughAttr6CreateERNS_10ASTContext switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang20WarnUnusedResultAttr6CreateERNS_10ASTContextEN4llvm9StringRefENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -91197,7 +91197,7 @@ define dso_local noundef ptr @_ZN5clang12FastCallAttr14CreateImplicitERNS_10ASTC switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -91270,7 +91270,7 @@ define dso_local noundef ptr @_ZN5clang12FastCallAttr6CreateERNS_10ASTContextENS switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -91600,7 +91600,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang12FastCallAttr11getSpellingEv(pt switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang12FastCallAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -100497,7 +100497,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang21HLSLParamModifierAttr11getSpel switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang21HLSLParamModifierAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -101664,7 +101664,7 @@ _ZN4llvm12StringSwitchISt8optionalINS_4dxil12ResourceKindEES4_E4CaseENS_13String define dso_local noundef nonnull ptr @_ZN5clang16HLSLResourceAttr24ConvertResourceKindToStrEN4llvm4dxil12ResourceKindE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: %switch.tableidx = add nsw i32 %0, -1 - %1 = zext i32 %switch.tableidx to i64 + %1 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [18 x ptr], ptr @switch.table._ZN5clang16HLSLResourceAttr24ConvertResourceKindToStrEN4llvm4dxil12ResourceKindE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -102797,7 +102797,7 @@ _ZN4llvm12StringSwitchISt8optionalINS_4dxil13ResourceClassEES4_E4CaseENS_13Strin ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang21HLSLResourceClassAttr25ConvertResourceClassToStrEN4llvm4dxil13ResourceClassE(i8 noundef zeroext %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang21HLSLResourceClassAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -102935,7 +102935,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit8: ; preds = %33, %35 %.0.i.i7 = phi ptr [ %34, %33 ], [ %1, %35 ] %38 = getelementptr inbounds nuw i8, ptr %0, i64 35 %39 = load i8, ptr %38, align 1, !tbaa !446 - %40 = zext i8 %39 to i64 + %40 = zext nneg i8 %39 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang21HLSLResourceClassAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE, i64 0, i64 %40 %switch.load = load ptr, ptr %switch.gep, align 8 %41 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -104883,7 +104883,7 @@ _ZN4llvm12StringSwitchISt8optionalINS_6Triple15EnvironmentTypeEES4_E4CaseENS_13S define dso_local noundef nonnull ptr @_ZN5clang14HLSLShaderAttr27ConvertEnvironmentTypeToStrEN4llvm6Triple15EnvironmentTypeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: %switch.tableidx = add nsw i32 %0, -33 - %1 = zext i32 %switch.tableidx to i64 + %1 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [15 x ptr], ptr @switch.table._ZNK5clang14HLSLShaderAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -105022,7 +105022,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit8: ; preds = %33, %35 %38 = getelementptr inbounds nuw i8, ptr %0, i64 36 %39 = load i32, ptr %38, align 4, !tbaa !450 %switch.tableidx = add nsw i32 %39, -33 - %40 = zext i32 %switch.tableidx to i64 + %40 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [15 x ptr], ptr @switch.table._ZNK5clang14HLSLShaderAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE, i64 0, i64 %40 %switch.load = load ptr, ptr %switch.gep, align 8 %41 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -106241,7 +106241,7 @@ define dso_local noundef ptr @_ZN5clang19HybridPatchableAttr14CreateImplicitERNS switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -106314,7 +106314,7 @@ define dso_local noundef ptr @_ZN5clang19HybridPatchableAttr6CreateERNS_10ASTCon switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -115910,7 +115910,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang12LoopHintAttr10OptionTypeEES5_E4CaseE ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang12LoopHintAttr22ConvertOptionTypeToStrENS0_10OptionTypeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table._ZN5clang12LoopHintAttr22ConvertOptionTypeToStrENS0_10OptionTypeE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -115975,7 +115975,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang12LoopHintAttr13LoopHintStateEES5_E4Ca ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang12LoopHintAttr25ConvertLoopHintStateToStrENS0_13LoopHintStateE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN5clang12LoopHintAttr25ConvertLoopHintStateToStrENS0_13LoopHintStateE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -116268,7 +116268,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang12LoopHintAttr11getSpellingEv(pt switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang12LoopHintAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -119623,7 +119623,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang17MSInheritanceAttr11getSpelling switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang17MSInheritanceAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -125133,7 +125133,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang17MipsInterruptAttr13InterruptTypeEES5 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang17MipsInterruptAttr25ConvertInterruptTypeToStrENS0_13InterruptTypeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang17MipsInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1333, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -125287,7 +125287,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %39, %41 %.0.i.i17 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !496 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang17MipsInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1333, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -125431,7 +125431,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit37: ; preds = %109, %111 %.0.i.i36 = phi ptr [ %110, %109 ], [ %1, %111 ] %114 = getelementptr inbounds nuw i8, ptr %0, i64 36 %115 = load i32, ptr %114, align 4, !tbaa !496 - %116 = zext i32 %115 to i64 + %116 = zext nneg i32 %115 to i64 %switch.gep91 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang17MipsInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1333, i64 0, i64 %116 %switch.load92 = load ptr, ptr %switch.gep91, align 8 %117 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load92) #17 @@ -125575,7 +125575,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit58: ; preds = %179, %181 %.0.i.i57 = phi ptr [ %180, %179 ], [ %1, %181 ] %184 = getelementptr inbounds nuw i8, ptr %0, i64 36 %185 = load i32, ptr %184, align 4, !tbaa !496 - %186 = zext i32 %185 to i64 + %186 = zext nneg i32 %185 to i64 %switch.gep93 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang17MipsInterruptAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1333, i64 0, i64 %186 %switch.load94 = load ptr, ptr %switch.gep93, align 8 %187 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load94) #17 @@ -125789,7 +125789,7 @@ define dso_local noundef ptr @_ZN5clang16MipsLongCallAttr14CreateImplicitERNS_10 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -125862,7 +125862,7 @@ define dso_local noundef ptr @_ZN5clang16MipsLongCallAttr6CreateERNS_10ASTContex switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -126389,7 +126389,7 @@ define dso_local noundef ptr @_ZN5clang17MipsShortCallAttr14CreateImplicitERNS_1 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -126462,7 +126462,7 @@ define dso_local noundef ptr @_ZN5clang17MipsShortCallAttr6CreateERNS_10ASTConte switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -136905,7 +136905,7 @@ define dso_local noundef ptr @_ZN5clang12NoInlineAttr14CreateImplicitERNS_10ASTC switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZN5clang12NoInlineAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -136978,7 +136978,7 @@ define dso_local noundef ptr @_ZN5clang12NoInlineAttr6CreateERNS_10ASTContextENS switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZN5clang12NoInlineAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -143737,7 +143737,7 @@ define dso_local noundef ptr @_ZN5clang20NoStackProtectorAttr14CreateImplicitERN switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang20NoStackProtectorAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -143810,7 +143810,7 @@ define dso_local noundef ptr @_ZN5clang20NoStackProtectorAttr6CreateERNS_10ASTCo switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang20NoStackProtectorAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -149445,7 +149445,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang19OMPAllocateDeclAttr15AllocatorTypeTy ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang19OMPAllocateDeclAttr27ConvertAllocatorTypeTyToStrENS0_15AllocatorTypeTyE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x ptr], ptr @switch.table._ZN5clang19OMPAllocateDeclAttr27ConvertAllocatorTypeTyToStrENS0_15AllocatorTypeTyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -165038,7 +165038,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang20ObjCMethodFamilyAttr10FamilyKindEES5 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang20ObjCMethodFamilyAttr22ConvertFamilyKindToStrENS0_10FamilyKindE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang20ObjCMethodFamilyAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1335, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -165192,7 +165192,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %39, %41 %.0.i.i17 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !554 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang20ObjCMethodFamilyAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1335, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -165336,7 +165336,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit37: ; preds = %109, %111 %.0.i.i36 = phi ptr [ %110, %109 ], [ %1, %111 ] %114 = getelementptr inbounds nuw i8, ptr %0, i64 36 %115 = load i32, ptr %114, align 4, !tbaa !554 - %116 = zext i32 %115 to i64 + %116 = zext nneg i32 %115 to i64 %switch.gep91 = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang20ObjCMethodFamilyAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1335, i64 0, i64 %116 %switch.load92 = load ptr, ptr %switch.gep91, align 8 %117 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load92) #17 @@ -165480,7 +165480,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit58: ; preds = %179, %181 %.0.i.i57 = phi ptr [ %180, %179 ], [ %1, %181 ] %184 = getelementptr inbounds nuw i8, ptr %0, i64 36 %185 = load i32, ptr %184, align 4, !tbaa !554 - %186 = zext i32 %185 to i64 + %186 = zext nneg i32 %185 to i64 %switch.gep93 = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang20ObjCMethodFamilyAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1335, i64 0, i64 %186 %switch.load94 = load ptr, ptr %switch.gep93, align 8 %187 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load94) #17 @@ -172118,7 +172118,7 @@ define dso_local noundef ptr @_ZN5clang16OpenCLAccessAttr14CreateImplicitERNS_10 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang16OpenCLAccessAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -172191,7 +172191,7 @@ define dso_local noundef ptr @_ZN5clang16OpenCLAccessAttr6CreateERNS_10ASTContex switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang16OpenCLAccessAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -172272,7 +172272,7 @@ define dso_local noundef range(i32 0, 5) i32 @_ZNK5clang16OpenCLAccessAttr19getS switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZNK5clang16OpenCLAccessAttr19getSemanticSpellingEv, i64 0, i64 %11 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -172485,7 +172485,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang16OpenCLAccessAttr11getSpellingE switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZNK5clang16OpenCLAccessAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -172596,7 +172596,7 @@ define dso_local noundef ptr @_ZN5clang30OpenCLConstantAddressSpaceAttr14CreateI switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -172669,7 +172669,7 @@ define dso_local noundef ptr @_ZN5clang30OpenCLConstantAddressSpaceAttr6CreateER switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -172750,7 +172750,7 @@ define dso_local noundef range(i32 0, 5) i32 @_ZNK5clang30OpenCLConstantAddressS switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZNK5clang29OpenCLPrivateAddressSpaceAttr19getSemanticSpellingEv, i64 0, i64 %11 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -173010,7 +173010,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang30OpenCLConstantAddressSpaceAttr switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang30OpenCLConstantAddressSpaceAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -173121,7 +173121,7 @@ define dso_local noundef ptr @_ZN5clang29OpenCLGenericAddressSpaceAttr14CreateIm switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -173194,7 +173194,7 @@ define dso_local noundef ptr @_ZN5clang29OpenCLGenericAddressSpaceAttr6CreateERN switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -173275,7 +173275,7 @@ define dso_local noundef range(i32 0, 5) i32 @_ZNK5clang29OpenCLGenericAddressSp switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZNK5clang29OpenCLPrivateAddressSpaceAttr19getSemanticSpellingEv, i64 0, i64 %11 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -173535,7 +173535,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang29OpenCLGenericAddressSpaceAttr1 switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang29OpenCLGenericAddressSpaceAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -173646,7 +173646,7 @@ define dso_local noundef ptr @_ZN5clang28OpenCLGlobalAddressSpaceAttr14CreateImp switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -173719,7 +173719,7 @@ define dso_local noundef ptr @_ZN5clang28OpenCLGlobalAddressSpaceAttr6CreateERNS switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -173800,7 +173800,7 @@ define dso_local noundef range(i32 0, 5) i32 @_ZNK5clang28OpenCLGlobalAddressSpa switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZNK5clang29OpenCLPrivateAddressSpaceAttr19getSemanticSpellingEv, i64 0, i64 %11 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -174060,7 +174060,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang28OpenCLGlobalAddressSpaceAttr11 switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang28OpenCLGlobalAddressSpaceAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -175978,7 +175978,7 @@ define dso_local noundef ptr @_ZN5clang27OpenCLLocalAddressSpaceAttr14CreateImpl switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -176051,7 +176051,7 @@ define dso_local noundef ptr @_ZN5clang27OpenCLLocalAddressSpaceAttr6CreateERNS_ switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -176132,7 +176132,7 @@ define dso_local noundef range(i32 0, 5) i32 @_ZNK5clang27OpenCLLocalAddressSpac switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZNK5clang29OpenCLPrivateAddressSpaceAttr19getSemanticSpellingEv, i64 0, i64 %11 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -176392,7 +176392,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang27OpenCLLocalAddressSpaceAttr11g switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang27OpenCLLocalAddressSpaceAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -176503,7 +176503,7 @@ define dso_local noundef ptr @_ZN5clang29OpenCLPrivateAddressSpaceAttr14CreateIm switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -176576,7 +176576,7 @@ define dso_local noundef ptr @_ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERN switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang29OpenCLPrivateAddressSpaceAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -176657,7 +176657,7 @@ define dso_local noundef range(i32 0, 5) i32 @_ZNK5clang29OpenCLPrivateAddressSp switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZNK5clang29OpenCLPrivateAddressSpaceAttr19getSemanticSpellingEv, i64 0, i64 %11 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -176917,7 +176917,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang29OpenCLPrivateAddressSpaceAttr1 switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang29OpenCLPrivateAddressSpaceAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -179298,7 +179298,7 @@ define dso_local noundef ptr @_ZN5clang13OwnershipAttr14CreateImplicitERNS_10AST switch.lookup: %6 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #17 - %7 = zext i32 %5 to i64 + %7 = zext nneg i32 %5 to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZN5clang13OwnershipAttr6CreateERNS_10ASTContextEPNS_14IdentifierInfoEPNS_8ParamIdxEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %7 %switch.load = load i32, ptr %switch.gep, align 4 %8 = getelementptr inbounds nuw i8, ptr %6, i64 16 @@ -179371,7 +179371,7 @@ define dso_local noundef ptr @_ZN5clang13OwnershipAttr6CreateERNS_10ASTContextEP switch.lookup: %6 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #17 - %7 = zext i32 %5 to i64 + %7 = zext nneg i32 %5 to i64 %switch.gep = getelementptr inbounds nuw [9 x i32], ptr @switch.table._ZN5clang13OwnershipAttr6CreateERNS_10ASTContextEPNS_14IdentifierInfoEPNS_8ParamIdxEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %7 %switch.load = load i32, ptr %switch.gep, align 4 %8 = getelementptr inbounds nuw i8, ptr %6, i64 16 @@ -180979,7 +180979,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang13OwnershipAttr11getSpellingEv(p switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang4Attr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -181772,7 +181772,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang18ParamTypestateAttr13ConsumedStateEES ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang18ParamTypestateAttr25ConvertConsumedStateToStrENS0_13ConsumedStateE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -181920,7 +181920,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit13: ; preds = %38, %40 %.0.i.i12 = phi ptr [ %39, %38 ], [ %1, %40 ] %43 = getelementptr inbounds nuw i8, ptr %0, i64 36 %44 = load i32, ptr %43, align 4, !tbaa !573 - %45 = zext i32 %44 to i64 + %45 = zext nneg i32 %44 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %45 %switch.load = load ptr, ptr %switch.gep, align 8 %46 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -182064,7 +182064,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit32: ; preds = %108, %110 %.0.i.i31 = phi ptr [ %109, %108 ], [ %1, %110 ] %113 = getelementptr inbounds nuw i8, ptr %0, i64 36 %114 = load i32, ptr %113, align 4, !tbaa !573 - %115 = zext i32 %114 to i64 + %115 = zext nneg i32 %114 to i64 %switch.gep58 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %115 %switch.load59 = load ptr, ptr %switch.gep58, align 8 %116 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load59) #17 @@ -182292,7 +182292,7 @@ define dso_local noundef ptr @_ZN5clang10PascalAttr14CreateImplicitERNS_10ASTCon switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -182365,7 +182365,7 @@ define dso_local noundef ptr @_ZN5clang10PascalAttr6CreateERNS_10ASTContextENS_1 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -182695,7 +182695,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang10PascalAttr11getSpellingEv(ptr switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang10PascalAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -182806,7 +182806,7 @@ define dso_local noundef ptr @_ZN5clang18PassObjectSizeAttr14CreateImplicitERNS_ switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -182879,7 +182879,7 @@ define dso_local noundef ptr @_ZN5clang18PassObjectSizeAttr6CreateERNS_10ASTCont switch.lookup: %4 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #17 - %5 = zext i32 %3 to i64 + %5 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 %6 = getelementptr inbounds nuw i8, ptr %4, i64 16 @@ -193247,7 +193247,7 @@ define dso_local noundef ptr @_ZN5clang17RISCVVectorCCAttr14CreateImplicitERNS_1 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang17RISCVVectorCCAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -193320,7 +193320,7 @@ define dso_local noundef ptr @_ZN5clang17RISCVVectorCCAttr6CreateERNS_10ASTConte switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang17RISCVVectorCCAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -194794,7 +194794,7 @@ define dso_local noundef ptr @_ZN5clang11RegCallAttr14CreateImplicitERNS_10ASTCo switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -194867,7 +194867,7 @@ define dso_local noundef ptr @_ZN5clang11RegCallAttr6CreateERNS_10ASTContextENS_ switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -195732,7 +195732,7 @@ define dso_local noundef ptr @_ZN5clang21ReleaseCapabilityAttr14CreateImplicitER switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [8 x i32], ptr @switch.table._ZN5clang22RequiresCapabilityAttr6CreateERNS_10ASTContextEPPNS_4ExprEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -195805,7 +195805,7 @@ define dso_local noundef ptr @_ZN5clang21ReleaseCapabilityAttr6CreateERNS_10ASTC switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [8 x i32], ptr @switch.table._ZN5clang22RequiresCapabilityAttr6CreateERNS_10ASTContextEPPNS_4ExprEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -196958,7 +196958,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang21ReleaseCapabilityAttr11getSpel switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @switch.table._ZNK5clang21ReleaseCapabilityAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -198419,7 +198419,7 @@ define dso_local noundef ptr @_ZN5clang22RequiresCapabilityAttr14CreateImplicitE switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [8 x i32], ptr @switch.table._ZN5clang22RequiresCapabilityAttr6CreateERNS_10ASTContextEPPNS_4ExprEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -198492,7 +198492,7 @@ define dso_local noundef ptr @_ZN5clang22RequiresCapabilityAttr6CreateERNS_10AST switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [8 x i32], ptr @switch.table._ZN5clang22RequiresCapabilityAttr6CreateERNS_10ASTContextEPPNS_4ExprEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -199645,7 +199645,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang22RequiresCapabilityAttr11getSpe switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @switch.table._ZNK5clang22RequiresCapabilityAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -199756,7 +199756,7 @@ define dso_local noundef ptr @_ZN5clang12RestrictAttr14CreateImplicitERNS_10ASTC switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -199829,7 +199829,7 @@ define dso_local noundef ptr @_ZN5clang12RestrictAttr6CreateERNS_10ASTContextENS switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -200961,7 +200961,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang19ReturnTypestateAttr13ConsumedStateEE ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang19ReturnTypestateAttr25ConvertConsumedStateToStrENS0_13ConsumedStateE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -201109,7 +201109,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit13: ; preds = %38, %40 %.0.i.i12 = phi ptr [ %39, %38 ], [ %1, %40 ] %43 = getelementptr inbounds nuw i8, ptr %0, i64 36 %44 = load i32, ptr %43, align 4, !tbaa !626 - %45 = zext i32 %44 to i64 + %45 = zext nneg i32 %44 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %45 %switch.load = load ptr, ptr %switch.gep, align 8 %46 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -201253,7 +201253,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit32: ; preds = %108, %110 %.0.i.i31 = phi ptr [ %109, %108 ], [ %1, %110 ] %113 = getelementptr inbounds nuw i8, ptr %0, i64 36 %114 = load i32, ptr %113, align 4, !tbaa !626 - %115 = zext i32 %114 to i64 + %115 = zext nneg i32 %114 to i64 %switch.gep58 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %115 %switch.load59 = load ptr, ptr %switch.gep58, align 8 %116 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load59) #17 @@ -206206,7 +206206,7 @@ define dso_local noundef ptr @_ZN5clang13SelectAnyAttr14CreateImplicitERNS_10AST switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -206279,7 +206279,7 @@ define dso_local noundef ptr @_ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextEN switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang13SelectAnyAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -207608,7 +207608,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang16SetTypestateAttr13ConsumedStateEES5_ ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang16SetTypestateAttr25ConvertConsumedStateToStrENS0_13ConsumedStateE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -207756,7 +207756,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit13: ; preds = %38, %40 %.0.i.i12 = phi ptr [ %39, %38 ], [ %1, %40 ] %43 = getelementptr inbounds nuw i8, ptr %0, i64 36 %44 = load i32, ptr %43, align 4, !tbaa !639 - %45 = zext i32 %44 to i64 + %45 = zext nneg i32 %44 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %45 %switch.load = load ptr, ptr %switch.gep, align 8 %46 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -207900,7 +207900,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit32: ; preds = %108, %110 %.0.i.i31 = phi ptr [ %109, %108 ], [ %1, %110 ] %113 = getelementptr inbounds nuw i8, ptr %0, i64 36 %114 = load i32, ptr %113, align 4, !tbaa !639 - %115 = zext i32 %114 to i64 + %115 = zext nneg i32 %114 to i64 %switch.gep58 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang16SetTypestateAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1338, i64 0, i64 %115 %switch.load59 = load ptr, ptr %switch.gep58, align 8 %116 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load59) #17 @@ -211020,7 +211020,7 @@ define dso_local noundef ptr @_ZN5clang11StdCallAttr14CreateImplicitERNS_10ASTCo switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -211093,7 +211093,7 @@ define dso_local noundef ptr @_ZN5clang11StdCallAttr6CreateERNS_10ASTContextENS_ switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -211423,7 +211423,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang11StdCallAttr11getSpellingEv(ptr switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang11StdCallAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -212262,7 +212262,7 @@ define dso_local noundef ptr @_ZN5clang12SuppressAttr14CreateImplicitERNS_10ASTC switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang12SuppressAttr6CreateERNS_10ASTContextEPN4llvm9StringRefEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -212335,7 +212335,7 @@ define dso_local noundef ptr @_ZN5clang12SuppressAttr6CreateERNS_10ASTContextEPN switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang12SuppressAttr6CreateERNS_10ASTContextEPN4llvm9StringRefEjNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -213678,7 +213678,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang14SwiftAsyncAttr4KindEES5_E4CaseENS_13 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang14SwiftAsyncAttr16ConvertKindToStrENS0_4KindE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14SwiftAsyncAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1340, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -213835,7 +213835,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit26: ; preds = %41, %43 %.0.i.i25 = phi ptr [ %42, %41 ], [ %1, %43 ] %46 = getelementptr inbounds nuw i8, ptr %0, i64 36 %47 = load i32, ptr %46, align 4, !tbaa !658 - %48 = zext i32 %47 to i64 + %48 = zext nneg i32 %47 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14SwiftAsyncAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1340, i64 0, i64 %48 %switch.load = load ptr, ptr %switch.gep, align 8 %49 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -214012,7 +214012,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit55: ; preds = %129, %131 %.0.i.i54 = phi ptr [ %130, %129 ], [ %1, %131 ] %134 = getelementptr inbounds nuw i8, ptr %0, i64 36 %135 = load i32, ptr %134, align 4, !tbaa !658 - %136 = zext i32 %135 to i64 + %136 = zext nneg i32 %135 to i64 %switch.gep139 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14SwiftAsyncAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1340, i64 0, i64 %136 %switch.load140 = load ptr, ptr %switch.gep139, align 8 %137 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load140) #17 @@ -214189,7 +214189,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit86: ; preds = %217, %219 %.0.i.i85 = phi ptr [ %218, %217 ], [ %1, %219 ] %222 = getelementptr inbounds nuw i8, ptr %0, i64 36 %223 = load i32, ptr %222, align 4, !tbaa !658 - %224 = zext i32 %223 to i64 + %224 = zext nneg i32 %223 to i64 %switch.gep141 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14SwiftAsyncAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1340, i64 0, i64 %224 %switch.load142 = load ptr, ptr %switch.gep141, align 8 %225 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load142) #17 @@ -215627,7 +215627,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang19SwiftAsyncErrorAttr14ConventionKindE ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang19SwiftAsyncErrorAttr26ConvertConventionKindToStrENS0_14ConventionKindE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang19SwiftAsyncErrorAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1342, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -215783,7 +215783,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit24: ; preds = %39, %41 %.0.i.i23 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !662 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang19SwiftAsyncErrorAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1342, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -215951,7 +215951,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit50: ; preds = %124, %126 %.0.i.i49 = phi ptr [ %125, %124 ], [ %1, %126 ] %129 = getelementptr inbounds nuw i8, ptr %0, i64 36 %130 = load i32, ptr %129, align 4, !tbaa !662 - %131 = zext i32 %130 to i64 + %131 = zext nneg i32 %130 to i64 %switch.gep121 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang19SwiftAsyncErrorAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1342, i64 0, i64 %131 %switch.load122 = load ptr, ptr %switch.gep121, align 8 %132 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load122) #17 @@ -216119,7 +216119,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit78: ; preds = %209, %211 %.0.i.i77 = phi ptr [ %210, %209 ], [ %1, %211 ] %214 = getelementptr inbounds nuw i8, ptr %0, i64 36 %215 = load i32, ptr %214, align 4, !tbaa !662 - %216 = zext i32 %215 to i64 + %216 = zext nneg i32 %215 to i64 %switch.gep123 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang19SwiftAsyncErrorAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1342, i64 0, i64 %216 %switch.load124 = load ptr, ptr %switch.gep123, align 8 %217 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load124) #17 @@ -219566,7 +219566,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang14SwiftErrorAttr14ConventionKindEES5_E ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang14SwiftErrorAttr26ConvertConventionKindToStrENS0_14ConventionKindE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang14SwiftErrorAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -219704,7 +219704,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit8: ; preds = %33, %35 %.0.i.i7 = phi ptr [ %34, %33 ], [ %1, %35 ] %38 = getelementptr inbounds nuw i8, ptr %0, i64 36 %39 = load i32, ptr %38, align 4, !tbaa !676 - %40 = zext i32 %39 to i64 + %40 = zext nneg i32 %39 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang14SwiftErrorAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE, i64 0, i64 %40 %switch.load = load ptr, ptr %switch.gep, align 8 %41 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -229047,7 +229047,7 @@ define dso_local noundef ptr @_ZN5clang12ThisCallAttr14CreateImplicitERNS_10ASTC switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -229120,7 +229120,7 @@ define dso_local noundef ptr @_ZN5clang12ThisCallAttr6CreateERNS_10ASTContextENS switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -229450,7 +229450,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang12ThisCallAttr11getSpellingEv(pt switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang12ThisCallAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -230875,7 +230875,7 @@ define dso_local noundef ptr @_ZN5clang24TryAcquireCapabilityAttr14CreateImplici switch.lookup: %6 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #17 - %7 = zext i32 %5 to i64 + %7 = zext nneg i32 %5 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang24TryAcquireCapabilityAttr6CreateERNS_10ASTContextEPNS_4ExprEPS4_jNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %7 %switch.load = load i32, ptr %switch.gep, align 4 %8 = getelementptr inbounds nuw i8, ptr %6, i64 16 @@ -230948,7 +230948,7 @@ define dso_local noundef ptr @_ZN5clang24TryAcquireCapabilityAttr6CreateERNS_10A switch.lookup: %6 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #17 - %7 = zext i32 %5 to i64 + %7 = zext nneg i32 %5 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang24TryAcquireCapabilityAttr6CreateERNS_10ASTContextEPNS_4ExprEPS4_jNS_11SourceRangeENS0_8SpellingE, i64 0, i64 %7 %switch.load = load i32, ptr %switch.gep, align 4 %8 = getelementptr inbounds nuw i8, ptr %6, i64 16 @@ -234519,7 +234519,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang18TypeVisibilityAttr14VisibilityTypeEE ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang18TypeVisibilityAttr26ConvertVisibilityTypeToStrENS0_14VisibilityTypeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -234673,7 +234673,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %39, %41 %.0.i.i17 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !719 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -234817,7 +234817,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit37: ; preds = %109, %111 %.0.i.i36 = phi ptr [ %110, %109 ], [ %1, %111 ] %114 = getelementptr inbounds nuw i8, ptr %0, i64 36 %115 = load i32, ptr %114, align 4, !tbaa !719 - %116 = zext i32 %115 to i64 + %116 = zext nneg i32 %115 to i64 %switch.gep91 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %116 %switch.load92 = load ptr, ptr %switch.gep91, align 8 %117 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load92) #17 @@ -234961,7 +234961,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit58: ; preds = %179, %181 %.0.i.i57 = phi ptr [ %180, %179 ], [ %1, %181 ] %184 = getelementptr inbounds nuw i8, ptr %0, i64 36 %185 = load i32, ptr %184, align 4, !tbaa !719 - %186 = zext i32 %185 to i64 + %186 = zext nneg i32 %185 to i64 %switch.gep93 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %186 %switch.load94 = load ptr, ptr %switch.gep93, align 8 %187 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load94) #17 @@ -238101,7 +238101,7 @@ define dso_local noundef ptr @_ZN5clang10UnusedAttr14CreateImplicitERNS_10ASTCon switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang10UnusedAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -238174,7 +238174,7 @@ define dso_local noundef ptr @_ZN5clang10UnusedAttr6CreateERNS_10ASTContextENS_1 switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5clang10UnusedAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -241695,7 +241695,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang31VTablePointerAuthenticationAttr15VPt ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang31VTablePointerAuthenticationAttr27ConvertVPtrAuthKeyTypeToStrENS0_15VPtrAuthKeyTypeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1350, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -241737,7 +241737,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang31VTablePointerAuthenticationAttr25Add ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang31VTablePointerAuthenticationAttr37ConvertAddressDiscriminationModeToStrENS0_25AddressDiscriminationModeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1351, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -241785,7 +241785,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang31VTablePointerAuthenticationAttr19Ext ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang31VTablePointerAuthenticationAttr31ConvertExtraDiscriminationToStrENS0_19ExtraDiscriminationE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1352, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -241945,7 +241945,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit36: ; preds = %39, %41 %.0.i.i35 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !736 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1350, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -242038,7 +242038,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit46: ; preds = %86, %88 %.0.i.i45 = phi ptr [ %87, %86 ], [ %1, %88 ] %91 = getelementptr inbounds nuw i8, ptr %0, i64 40 %92 = load i32, ptr %91, align 8, !tbaa !741 - %93 = zext i32 %92 to i64 + %93 = zext nneg i32 %92 to i64 %switch.gep227 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1351, i64 0, i64 %93 %switch.load228 = load ptr, ptr %switch.gep227, align 8 %94 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load228) #17 @@ -242131,7 +242131,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit57: ; preds = %133, %135 %.0.i.i56 = phi ptr [ %134, %133 ], [ %1, %135 ] %138 = getelementptr inbounds nuw i8, ptr %0, i64 44 %139 = load i32, ptr %138, align 4, !tbaa !742 - %140 = zext i32 %139 to i64 + %140 = zext nneg i32 %139 to i64 %switch.gep229 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1352, i64 0, i64 %140 %switch.load230 = load ptr, ptr %switch.gep229, align 8 %141 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load230) #17 @@ -242299,7 +242299,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit84: ; preds = %218, %220 %.0.i.i83 = phi ptr [ %219, %218 ], [ %1, %220 ] %223 = getelementptr inbounds nuw i8, ptr %0, i64 36 %224 = load i32, ptr %223, align 4, !tbaa !736 - %225 = zext i32 %224 to i64 + %225 = zext nneg i32 %224 to i64 %switch.gep231 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1350, i64 0, i64 %225 %switch.load232 = load ptr, ptr %switch.gep231, align 8 %226 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load232) #17 @@ -242392,7 +242392,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit96: ; preds = %265, %267 %.0.i.i95 = phi ptr [ %266, %265 ], [ %1, %267 ] %270 = getelementptr inbounds nuw i8, ptr %0, i64 40 %271 = load i32, ptr %270, align 8, !tbaa !741 - %272 = zext i32 %271 to i64 + %272 = zext nneg i32 %271 to i64 %switch.gep233 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1351, i64 0, i64 %272 %switch.load234 = load ptr, ptr %switch.gep233, align 8 %273 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load234) #17 @@ -242485,7 +242485,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit108: ; preds = %312, %314 %.0.i.i107 = phi ptr [ %313, %312 ], [ %1, %314 ] %317 = getelementptr inbounds nuw i8, ptr %0, i64 44 %318 = load i32, ptr %317, align 4, !tbaa !742 - %319 = zext i32 %318 to i64 + %319 = zext nneg i32 %318 to i64 %switch.gep235 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1352, i64 0, i64 %319 %switch.load236 = load ptr, ptr %switch.gep235, align 8 %320 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load236) #17 @@ -242653,7 +242653,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit136: ; preds = %397, %399 %.0.i.i135 = phi ptr [ %398, %397 ], [ %1, %399 ] %402 = getelementptr inbounds nuw i8, ptr %0, i64 36 %403 = load i32, ptr %402, align 4, !tbaa !736 - %404 = zext i32 %403 to i64 + %404 = zext nneg i32 %403 to i64 %switch.gep237 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1350, i64 0, i64 %404 %switch.load238 = load ptr, ptr %switch.gep237, align 8 %405 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load238) #17 @@ -242746,7 +242746,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit148: ; preds = %444, %446 %.0.i.i147 = phi ptr [ %445, %444 ], [ %1, %446 ] %449 = getelementptr inbounds nuw i8, ptr %0, i64 40 %450 = load i32, ptr %449, align 8, !tbaa !741 - %451 = zext i32 %450 to i64 + %451 = zext nneg i32 %450 to i64 %switch.gep239 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1351, i64 0, i64 %451 %switch.load240 = load ptr, ptr %switch.gep239, align 8 %452 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load240) #17 @@ -242839,7 +242839,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit160: ; preds = %491, %493 %.0.i.i159 = phi ptr [ %492, %491 ], [ %1, %493 ] %496 = getelementptr inbounds nuw i8, ptr %0, i64 44 %497 = load i32, ptr %496, align 4, !tbaa !742 - %498 = zext i32 %497 to i64 + %498 = zext nneg i32 %497 to i64 %switch.gep241 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang31VTablePointerAuthenticationAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1352, i64 0, i64 %498 %switch.load242 = load ptr, ptr %switch.gep241, align 8 %499 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load242) #17 @@ -243995,7 +243995,7 @@ define dso_local noundef ptr @_ZN5clang14VectorCallAttr14CreateImplicitERNS_10AS switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -244068,7 +244068,7 @@ define dso_local noundef ptr @_ZN5clang14VectorCallAttr6CreateERNS_10ASTContextE switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang14VectorCallAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -244398,7 +244398,7 @@ define dso_local noundef nonnull ptr @_ZNK5clang14VectorCallAttr11getSpellingEv( switch.lookup: ; preds = %8, %5 %10 = phi i32 [ %7, %5 ], [ %9, %8 ] - %11 = zext i32 %10 to i64 + %11 = zext nneg i32 %10 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZNK5clang14VectorCallAttr11getSpellingEv, i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -244714,7 +244714,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang14VisibilityAttr14VisibilityTypeEES5_E ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang14VisibilityAttr26ConvertVisibilityTypeToStrENS0_14VisibilityTypeE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -244868,7 +244868,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %39, %41 %.0.i.i17 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !749 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -245012,7 +245012,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit37: ; preds = %109, %111 %.0.i.i36 = phi ptr [ %110, %109 ], [ %1, %111 ] %114 = getelementptr inbounds nuw i8, ptr %0, i64 36 %115 = load i32, ptr %114, align 4, !tbaa !749 - %116 = zext i32 %115 to i64 + %116 = zext nneg i32 %115 to i64 %switch.gep91 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %116 %switch.load92 = load ptr, ptr %switch.gep91, align 8 %117 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load92) #17 @@ -245156,7 +245156,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit58: ; preds = %179, %181 %.0.i.i57 = phi ptr [ %180, %179 ], [ %1, %181 ] %184 = getelementptr inbounds nuw i8, ptr %0, i64 36 %185 = load i32, ptr %184, align 4, !tbaa !749 - %186 = zext i32 %185 to i64 + %186 = zext nneg i32 %185 to i64 %switch.gep93 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang14VisibilityAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1354, i64 0, i64 %186 %switch.load94 = load ptr, ptr %switch.gep93, align 8 %187 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load94) #17 @@ -245855,7 +245855,7 @@ define dso_local noundef ptr @_ZN5clang20WarnUnusedResultAttr14CreateImplicitERN switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang20WarnUnusedResultAttr6CreateERNS_10ASTContextEN4llvm9StringRefENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -245928,7 +245928,7 @@ define dso_local noundef ptr @_ZN5clang20WarnUnusedResultAttr6CreateERNS_10ASTCo switch.lookup: %5 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #17 - %6 = zext i32 %4 to i64 + %6 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang20WarnUnusedResultAttr6CreateERNS_10ASTContextEN4llvm9StringRefENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %6 %switch.load = load i32, ptr %switch.gep, align 4 %7 = getelementptr inbounds nuw i8, ptr %5, i64 16 @@ -252944,7 +252944,7 @@ define dso_local noundef ptr @_ZN5clang18XRayInstrumentAttr14CreateImplicitERNS_ switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -253017,7 +253017,7 @@ define dso_local noundef ptr @_ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTCont switch.lookup: %3 = alloca %"class.clang::AttributeCommonInfo", align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #17 - %4 = zext i32 %2 to i64 + %4 = zext nneg i32 %2 to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZN5clang18XRayInstrumentAttr6CreateERNS_10ASTContextENS_11SourceRangeENS0_8SpellingE, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 %5 = getelementptr inbounds nuw i8, ptr %3, i64 16 @@ -254382,7 +254382,7 @@ _ZN4llvm12StringSwitchISt8optionalIN5clang20ZeroCallUsedRegsAttr20ZeroCallUsedRe ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang20ZeroCallUsedRegsAttr32ConvertZeroCallUsedRegsKindToStrENS0_20ZeroCallUsedRegsKindE(i32 noundef %0) local_unnamed_addr #4 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang20ZeroCallUsedRegsAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1356, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -254536,7 +254536,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit18: ; preds = %39, %41 %.0.i.i17 = phi ptr [ %40, %39 ], [ %1, %41 ] %44 = getelementptr inbounds nuw i8, ptr %0, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !774 - %46 = zext i32 %45 to i64 + %46 = zext nneg i32 %45 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang20ZeroCallUsedRegsAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1356, i64 0, i64 %46 %switch.load = load ptr, ptr %switch.gep, align 8 %47 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load) #17 @@ -254680,7 +254680,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit37: ; preds = %109, %111 %.0.i.i36 = phi ptr [ %110, %109 ], [ %1, %111 ] %114 = getelementptr inbounds nuw i8, ptr %0, i64 36 %115 = load i32, ptr %114, align 4, !tbaa !774 - %116 = zext i32 %115 to i64 + %116 = zext nneg i32 %115 to i64 %switch.gep91 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang20ZeroCallUsedRegsAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1356, i64 0, i64 %116 %switch.load92 = load ptr, ptr %switch.gep91, align 8 %117 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load92) #17 @@ -254824,7 +254824,7 @@ _ZN4llvm11raw_ostreamlsEPKc.exit58: ; preds = %179, %181 %.0.i.i57 = phi ptr [ %180, %179 ], [ %1, %181 ] %184 = getelementptr inbounds nuw i8, ptr %0, i64 36 %185 = load i32, ptr %184, align 4, !tbaa !774 - %186 = zext i32 %185 to i64 + %186 = zext nneg i32 %185 to i64 %switch.gep93 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang20ZeroCallUsedRegsAttr11printPrettyERN4llvm11raw_ostreamERKNS_14PrintingPolicyE.1356, i64 0, i64 %186 %switch.load94 = load ptr, ptr %switch.gep93, align 8 %187 = tail call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load94) #17 @@ -260102,7 +260102,7 @@ _ZNK5clang18XRayInstrumentAttr11getSpellingEv.exit: ; preds = %2487, %2490 switch.lookup: ; preds = %1820, %1823 %2506 = phi i32 [ %1822, %1820 ], [ %1824, %1823 ] - %2507 = zext i32 %2506 to i64 + %2507 = zext nneg i32 %2506 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZNK5clang4Attr11getSpellingEv, i64 0, i64 %2507 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZNK5clang17AArch64SVEPcsAttr11getSpellingEv.exit diff --git a/bench/llvm/optimized/Consumed.ll b/bench/llvm/optimized/Consumed.ll index 32230921887..82ae3bfe8b7 100644 --- a/bench/llvm/optimized/Consumed.ll +++ b/bench/llvm/optimized/Consumed.ll @@ -867,10 +867,10 @@ switch.lookup: ; preds = %.lr.ph.i %94 = load ptr, ptr %6, align 8, !tbaa !95 %95 = getelementptr inbounds nuw i8, ptr %6, i64 8 %96 = load i64, ptr %95, align 8, !tbaa !100 - %97 = zext i32 %74 to i64 + %97 = zext nneg i32 %74 to i64 %switch.gep80 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.31, i64 0, i64 %97 %switch.load81 = load i64, ptr %switch.gep80, align 8 - %98 = zext i32 %74 to i64 + %98 = zext nneg i32 %74 to i64 %switch.gep82 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.32, i64 0, i64 %98 %switch.load83 = load ptr, ptr %switch.gep82, align 8 store ptr %switch.load83, ptr %7, align 8 @@ -964,10 +964,10 @@ switch.lookup84: ; preds = %.lr.ph.i39 %133 = load ptr, ptr %8, align 8, !tbaa !95 %134 = getelementptr inbounds nuw i8, ptr %8, i64 8 %135 = load i64, ptr %134, align 8, !tbaa !100 - %136 = zext i32 %118 to i64 + %136 = zext nneg i32 %118 to i64 %switch.gep88 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.31, i64 0, i64 %136 %switch.load89 = load i64, ptr %switch.gep88, align 8 - %137 = zext i32 %118 to i64 + %137 = zext nneg i32 %118 to i64 %switch.gep90 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.32, i64 0, i64 %137 %switch.load91 = load ptr, ptr %switch.gep90, align 8 %138 = load ptr, ptr %131, align 8, !tbaa !101 @@ -1266,7 +1266,7 @@ _ZNK5clang4Decl7getAttrINS_18ParamTypestateAttrEEEPT_v.exit: ; preds = %.lr.ph.i %126 = call noundef i32 @_ZNK5clang8consumed15PropagationInfo10getAsStateEPKNS0_16ConsumedStateMapE(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef %125) %127 = getelementptr i8, ptr %124, i64 36 %.val60 = load i32, ptr %127, align 4, !tbaa !151 - %128 = zext i32 %.val60 to i64 + %128 = zext nneg i32 %.val60 to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %128 %switch.load = load i32, ptr %switch.gep, align 4 %.not49 = icmp eq i32 %126, %switch.load @@ -1288,16 +1288,16 @@ switch.lookup: ; preds = %_ZNK5clang4Decl7get %140 = load ptr, ptr %139, align 8, !tbaa !147 %141 = call i32 @_ZNK5clang4Expr10getExprLocEv(ptr noundef nonnull align 8 dereferenceable(16) %140) #17 %switch.tableidx = add nsw i32 %switch.load, -1 - %142 = zext i32 %switch.tableidx to i64 + %142 = zext nneg i32 %switch.tableidx to i64 %switch.gep247 = getelementptr inbounds nuw [3 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.29, i64 0, i64 %142 %switch.load248 = load i64, ptr %switch.gep247, align 8 - %143 = zext i32 %switch.tableidx to i64 + %143 = zext nneg i32 %switch.tableidx to i64 %switch.gep249 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.30, i64 0, i64 %143 %switch.load250 = load ptr, ptr %switch.gep249, align 8 - %144 = zext i32 %126 to i64 + %144 = zext nneg i32 %126 to i64 %switch.gep261 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.31, i64 0, i64 %144 %switch.load262 = load i64, ptr %switch.gep261, align 8 - %145 = zext i32 %126 to i64 + %145 = zext nneg i32 %126 to i64 %switch.gep263 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.32, i64 0, i64 %145 %switch.load264 = load ptr, ptr %switch.gep263, align 8 %146 = load ptr, ptr %131, align 8, !tbaa !101 @@ -1367,7 +1367,7 @@ _ZNK5clang4Decl7getAttrINS_19ReturnTypestateAttrEEEPT_v.exit: ; preds = %.lr.ph. %179 = load ptr, ptr %33, align 8, !tbaa !33 %180 = getelementptr i8, ptr %178, i64 36 %.val61 = load i32, ptr %180, align 4, !tbaa !156 - %181 = zext i32 %.val61 to i64 + %181 = zext nneg i32 %.val61 to i64 %switch.gep252 = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %181 %switch.load253 = load i32, ptr %switch.gep252, align 4 %.val58 = load i32, ptr %13, align 8, !tbaa !37 @@ -1727,7 +1727,7 @@ switch.lookup254: ; preds = %_ZNK5clang4Decl7get %347 = load ptr, ptr %346, align 8, !tbaa !32 %348 = getelementptr i8, ptr %342, i64 36 %.val64 = load i32, ptr %348, align 4, !tbaa !167 - %349 = zext i32 %.val64 to i64 + %349 = zext nneg i32 %.val64 to i64 %switch.gep255 = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %349 %switch.load256 = load i32, ptr %switch.gep255, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) @@ -1745,7 +1745,7 @@ switch.lookup257: ; preds = %_ZNK5clang4Decl7get %355 = load ptr, ptr %354, align 8, !tbaa !32 %356 = getelementptr i8, ptr %342, i64 36 %.val65 = load i32, ptr %356, align 4, !tbaa !167 - %357 = zext i32 %.val65 to i64 + %357 = zext nneg i32 %.val65 to i64 %switch.gep258 = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %357 %switch.load259 = load i32, ptr %switch.gep258, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) @@ -2066,7 +2066,7 @@ _ZL27mapReturnTypestateAttrStatePKN5clang19ReturnTypestateAttrE.exit: ; preds = %switch.table._ZN5clang8consumed19ConsumedStmtVisitor19propagateReturnTypeEPKNS_4ExprEPKNS_12FunctionDeclE.22.sink = phi ptr [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %75 ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %.loopexit ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %.lr.ph.i.i.i.i.i15 ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %.lr.ph.i.i.i.i ] %105 = getelementptr i8, ptr %.sink47, i64 36 %106 = load i32, ptr %105, align 4, !tbaa !32 - %107 = zext i32 %106 to i64 + %107 = zext nneg i32 %106 to i64 %switch.gep44 = getelementptr inbounds nuw [3 x i32], ptr %switch.table._ZN5clang8consumed19ConsumedStmtVisitor19propagateReturnTypeEPKNS_4ExprEPKNS_12FunctionDeclE.22.sink, i64 0, i64 %107 %switch.load45 = load i32, ptr %switch.gep44, align 4 %108 = getelementptr inbounds nuw i8, ptr %0, i64 16 @@ -2672,7 +2672,7 @@ _ZNK5clang4Decl7getAttrINS_19ReturnTypestateAttrEEEPT_v.exit: ; preds = %.lr.ph. %99 = phi ptr [ %89, %88 ], [ %95, %.lr.ph.i.i.i.i ] %100 = getelementptr i8, ptr %99, i64 36 %.val = load i32, ptr %100, align 4, !tbaa !156 - %101 = zext i32 %.val to i64 + %101 = zext nneg i32 %.val to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %101 %switch.load = load i32, ptr %switch.gep, align 4 %102 = getelementptr inbounds nuw i8, ptr %0, i64 16 @@ -2825,7 +2825,7 @@ _ZNK5clang4Decl7getAttrINS_14ConsumableAttrEEEPT_v.exit.i: ; preds = %.lr.ph.i.i %168 = phi ptr [ %158, %148 ], [ %164, %.lr.ph.i.i.i.i.i34 ] %169 = getelementptr inbounds nuw i8, ptr %168, i64 36 %170 = load i32, ptr %169, align 4, !tbaa !186 - %171 = zext i32 %170 to i64 + %171 = zext nneg i32 %170 to i64 %switch.gep75 = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %171 %switch.load76 = load i32, ptr %switch.gep75, align 4 %172 = getelementptr inbounds nuw i8, ptr %0, i64 16 @@ -3754,7 +3754,7 @@ _ZL16isConsumableTypeRKN5clang8QualTypeE.exit68: ; preds = %.lr.ph.i.i.i.i.i.i6 %switch.table._ZN5clang8consumed19ConsumedStmtVisitor16VisitParmVarDeclEPKNS_11ParmVarDeclE.25.sink = phi ptr [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %21 ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %60 ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %118 ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %.lr.ph.i.i.i.i.i47 ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %.lr.ph.i.i.i.i.i22 ], [ @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, %.lr.ph.i.i.i.i ] %180 = getelementptr i8, ptr %.sink131, i64 36 %181 = load i32, ptr %180, align 4, !tbaa !32 - %182 = zext i32 %181 to i64 + %182 = zext nneg i32 %181 to i64 %switch.gep128 = getelementptr inbounds nuw [3 x i32], ptr %switch.table._ZN5clang8consumed19ConsumedStmtVisitor16VisitParmVarDeclEPKNS_11ParmVarDeclE.25.sink, i64 0, i64 %182 %switch.load129 = load i32, ptr %switch.gep128, align 4 br label %183 @@ -3869,16 +3869,16 @@ switch.lookup: ; preds = %48 %54 = load ptr, ptr %53, align 8, !tbaa !75 %55 = getelementptr inbounds nuw i8, ptr %1, i64 4 %.sroa.0.0.copyload.i = load i32, ptr %55, align 4, !tbaa !185 - %56 = zext i32 %5 to i64 + %56 = zext nneg i32 %5 to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.31, i64 0, i64 %56 %switch.load = load i64, ptr %switch.gep, align 8 - %57 = zext i32 %5 to i64 + %57 = zext nneg i32 %5 to i64 %switch.gep25 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.32, i64 0, i64 %57 %switch.load26 = load ptr, ptr %switch.gep25, align 8 - %58 = zext i32 %52 to i64 + %58 = zext nneg i32 %52 to i64 %switch.gep28 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.31, i64 0, i64 %58 %switch.load29 = load i64, ptr %switch.gep28, align 8 - %59 = zext i32 %52 to i64 + %59 = zext nneg i32 %52 to i64 %switch.gep30 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.32, i64 0, i64 %59 %switch.load31 = load ptr, ptr %switch.gep30, align 8 %60 = load ptr, ptr %54, align 8, !tbaa !101 @@ -4011,7 +4011,7 @@ _ZNK5clang4Decl7getAttrINS_19ReturnTypestateAttrEEEPT_v.exit: ; preds = %.lr.ph. %53 = phi ptr [ %43, %42 ], [ %49, %.lr.ph.i.i.i.i ] %54 = getelementptr i8, ptr %53, i64 36 %.val = load i32, ptr %54, align 4, !tbaa !156 - %55 = zext i32 %.val to i64 + %55 = zext nneg i32 %.val to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %55 %switch.load = load i32, ptr %switch.gep, align 4 %56 = getelementptr inbounds nuw i8, ptr %.sroa.025.031, i64 8 @@ -4026,17 +4026,17 @@ switch.lookup: ; preds = %_ZNK5clang4Decl7get %59 = load ptr, ptr %4, align 8, !tbaa !95 %60 = load i64, ptr %21, align 8, !tbaa !100 %switch.tableidx = add nsw i32 %switch.load, -1 - %61 = zext i32 %switch.tableidx to i64 + %61 = zext nneg i32 %switch.tableidx to i64 %switch.gep35 = getelementptr inbounds nuw [3 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.29, i64 0, i64 %61 %switch.load36 = load i64, ptr %switch.gep35, align 8 - %62 = zext i32 %switch.tableidx to i64 + %62 = zext nneg i32 %switch.tableidx to i64 %switch.gep37 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.30, i64 0, i64 %62 %switch.load38 = load ptr, ptr %switch.gep37, align 8 %63 = load i32, ptr %56, align 8, !tbaa !61 - %64 = zext i32 %63 to i64 + %64 = zext nneg i32 %63 to i64 %switch.gep40 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.31, i64 0, i64 %64 %switch.load41 = load i64, ptr %switch.gep40, align 8 - %65 = zext i32 %63 to i64 + %65 = zext nneg i32 %63 to i64 %switch.gep42 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZNK5clang8consumed16ConsumedStateMap29checkParamsForReturnTypestateENS_14SourceLocationERNS0_27ConsumedWarningsHandlerBaseE.32, i64 0, i64 %65 %switch.load43 = load ptr, ptr %switch.gep42, align 8 store ptr %switch.load43, ptr %5, align 8 @@ -4211,7 +4211,7 @@ switch.lookup13: ; preds = %60 %68 = load ptr, ptr %67, align 8, !tbaa !32, !noalias !209 %69 = getelementptr inbounds nuw i8, ptr %.sroa.0.1.i.i, i64 40 %70 = load i32, ptr %69, align 8, !tbaa !32, !noalias !209 - %71 = zext i32 %70 to i64 + %71 = zext nneg i32 %70 to i64 %switch.gep14 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %71 %switch.load15 = load i32, ptr %switch.gep14, align 4 %72 = getelementptr inbounds nuw i8, ptr %.sroa.0.1.i.i, i64 48 @@ -4235,7 +4235,7 @@ switch.lookup13: ; preds = %60 unreachable switch.lookup: ; preds = %60 - %79 = zext i32 %64 to i64 + %79 = zext nneg i32 %64 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %79 %switch.load = load i32, ptr %switch.gep, align 4 br label %_ZNK5clang8consumed15PropagationInfo10invertTestEv.exit @@ -6073,7 +6073,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit: ; preds = %_ZNKS switch.lookup: ; preds = %_ZNK5clang4Decl7hasAttrINS_14ConsumableAttrEEEbv.exit %121 = getelementptr i8, ptr %83, i64 36 %.val = load i32, ptr %121, align 4, !tbaa !156 - %122 = zext i32 %.val to i64 + %122 = zext nneg i32 %.val to i64 %switch.gep = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %122 %switch.load = load i32, ptr %switch.gep, align 4 br label %_ZL27mapReturnTypestateAttrStatePKN5clang19ReturnTypestateAttrE.exit @@ -6219,7 +6219,7 @@ _ZNK5clang4Decl7getAttrINS_14ConsumableAttrEEEPT_v.exit.i: ; preds = %.lr.ph.i.i %197 = phi ptr [ %187, %_ZL14isAutoCastTypeRKN5clang8QualTypeE.exit.thread ], [ %193, %.lr.ph.i.i.i.i.i49 ] %198 = getelementptr inbounds nuw i8, ptr %197, i64 36 %199 = load i32, ptr %198, align 4, !tbaa !186 - %200 = zext i32 %199 to i64 + %200 = zext nneg i32 %199 to i64 %switch.gep91 = getelementptr inbounds nuw [3 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer28determineExpectedReturnStateERNS_19AnalysisDeclContextEPKNS_12FunctionDeclE.34, i64 0, i64 %200 %switch.load92 = load i32, ptr %switch.gep91, align 4 br label %_ZL27mapReturnTypestateAttrStatePKN5clang19ReturnTypestateAttrE.exit @@ -6553,7 +6553,7 @@ switch.lookup: ; preds = %_ZNK5clang8consumed %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4llvm12DenseMapBaseINS_8DenseMapIPKN5clang7VarDeclENS2_8consumed13ConsumedStateENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S7_EEEES5_S7_S9_SC_EixERKS5_(ptr noundef nonnull align 1 dereferenceable(1) %134, ptr noundef nonnull align 8 dereferenceable(8) %11) store i32 %.sroa.19.0, ptr %166, align 4, !tbaa !40 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) - %167 = zext i32 %.sroa.19.0 to i64 + %167 = zext nneg i32 %.sroa.19.0 to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %167 %switch.load = load i32, ptr %switch.gep, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) @@ -6565,7 +6565,7 @@ switch.lookup: ; preds = %_ZNK5clang8consumed switch.lookup401: ; preds = %_ZNK4llvm12DenseMapBaseINS_8DenseMapIPKN5clang7VarDeclENS2_8consumed13ConsumedStateENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S7_EEEES5_S7_S9_SC_E4findES5_.exit.i.i, %_ZNK5clang8consumed16ConsumedStateMap8getStateEPKNS_7VarDeclE.exit.i %.0.i2.i = phi i32 [ %164, %_ZNK5clang8consumed16ConsumedStateMap8getStateEPKNS_7VarDeclE.exit.i ], [ 0, %_ZNK4llvm12DenseMapBaseINS_8DenseMapIPKN5clang7VarDeclENS2_8consumed13ConsumedStateENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S7_EEEES5_S7_S9_SC_E4findES5_.exit.i.i ] - %169 = zext i32 %.sroa.19.0 to i64 + %169 = zext nneg i32 %.sroa.19.0 to i64 %switch.gep402 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %169 %switch.load403 = load i32, ptr %switch.gep402, align 4 %170 = icmp eq i32 %.0.i2.i, %switch.load403 @@ -6730,7 +6730,7 @@ _ZNK5clang8consumed16ConsumedStateMap8getStateEPKNS_7VarDeclE.exit70.i: ; preds br label %276 switch.lookup404: ; preds = %249 - %253 = zext i32 %.sroa.29.0 to i64 + %253 = zext nneg i32 %.sroa.29.0 to i64 %switch.gep405 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %253 %switch.load406 = load i32, ptr %switch.gep405, align 4 %254 = icmp eq i32 %211, %switch.load406 @@ -6763,7 +6763,7 @@ switch.lookup404: ; preds = %249 br i1 %248, label %switch.lookup407, label %266 switch.lookup407: ; preds = %263 - %264 = zext i32 %.sroa.29.0 to i64 + %264 = zext nneg i32 %.sroa.29.0 to i64 %switch.gep408 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %264 %switch.load409 = load i32, ptr %switch.gep408, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) @@ -6782,7 +6782,7 @@ switch.lookup407: ; preds = %263 br label %276 switch.lookup410: ; preds = %266 - %269 = zext i32 %.sroa.29.0 to i64 + %269 = zext nneg i32 %.sroa.29.0 to i64 %switch.gep411 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %269 %switch.load412 = load i32, ptr %switch.gep411, align 4 %270 = icmp eq i32 %211, %switch.load412 @@ -6824,7 +6824,7 @@ switch.lookup410: ; preds = %266 br label %427 switch.lookup413: ; preds = %280 - %284 = zext i32 %.sroa.32.0 to i64 + %284 = zext nneg i32 %.sroa.32.0 to i64 %switch.gep414 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %284 %switch.load415 = load i32, ptr %switch.gep414, align 4 %285 = icmp eq i32 %245, %switch.load415 @@ -6838,7 +6838,7 @@ switch.lookup413: ; preds = %280 br i1 %279, label %switch.lookup416, label %290 switch.lookup416: ; preds = %287 - %288 = zext i32 %.sroa.32.0 to i64 + %288 = zext nneg i32 %.sroa.32.0 to i64 %switch.gep417 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %288 %switch.load418 = load i32, ptr %switch.gep417, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) @@ -7107,7 +7107,7 @@ _ZNK5clang8consumed16ConsumedStateMap8getStateEPKNS_7VarDeclE.exit.thread: ; pre switch.lookup419: ; preds = %414, %_ZNK5clang8consumed16ConsumedStateMap8getStateEPKNS_7VarDeclE.exit.thread %.0.i337340 = phi i32 [ %407, %414 ], [ 0, %_ZNK5clang8consumed16ConsumedStateMap8getStateEPKNS_7VarDeclE.exit.thread ] - %418 = zext i32 %.sroa.19.1 to i64 + %418 = zext nneg i32 %.sroa.19.1 to i64 %switch.gep420 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %418 %switch.load421 = load i32, ptr %switch.gep420, align 4 %419 = icmp eq i32 %.0.i337340, %switch.load421 @@ -7122,7 +7122,7 @@ switch.lookup419: ; preds = %414, %_ZNK5clang8co br i1 %422, label %switch.lookup422, label %.thread344 switch.lookup422: ; preds = %421 - %423 = zext i32 %.sroa.19.1 to i64 + %423 = zext nneg i32 %.sroa.19.1 to i64 %switch.gep423 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZN5clang8consumed16ConsumedAnalyzer10splitStateEPKNS_8CFGBlockERKNS0_19ConsumedStmtVisitorE.42, i64 0, i64 %423 %switch.load424 = load i32, ptr %switch.gep423, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) diff --git a/bench/llvm/optimized/DeclSpec.ll b/bench/llvm/optimized/DeclSpec.ll index d669db95e04..5652a831297 100644 --- a/bench/llvm/optimized/DeclSpec.ll +++ b/bench/llvm/optimized/DeclSpec.ll @@ -1505,7 +1505,7 @@ define dso_local noundef range(i32 0, 16) i32 @_ZNK5clang8DeclSpec19getParsedSpe ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang8DeclSpec16getSpecifierNameENS0_3SCSE(i32 noundef %0) local_unnamed_addr #11 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @switch.table._ZN5clang8DeclSpec6FinishERNS_4SemaERKNS_14PrintingPolicyE.9, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -1514,7 +1514,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang8DeclSpec16getSpecifierNameENS_27ThreadStorageClassSpecifierE(i32 noundef %0) local_unnamed_addr #11 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang8DeclSpec6FinishERNS_4SemaERKNS_14PrintingPolicyE.8, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -1523,7 +1523,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang8DeclSpec16getSpecifierNameENS_18TypeSpecifierWidthE(i32 noundef %0) local_unnamed_addr #11 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang8DeclSpec6FinishERNS_4SemaERKNS_14PrintingPolicyE.5, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -1532,7 +1532,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang8DeclSpec16getSpecifierNameENS0_3TSCE(i32 noundef %0) local_unnamed_addr #11 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang8DeclSpec16getSpecifierNameENS0_3TSCE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -1541,7 +1541,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang8DeclSpec16getSpecifierNameENS_17TypeSpecifierSignE(i32 noundef %0) local_unnamed_addr #11 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang8DeclSpec6FinishERNS_4SemaERKNS_14PrintingPolicyE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -1842,7 +1842,7 @@ define dso_local noundef nonnull ptr @_ZN5clang8DeclSpec16getSpecifierNameENS_17 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_ZN5clang8DeclSpec16getSpecifierNameENS_17ConstexprSpecKindE(i32 noundef %0) local_unnamed_addr #11 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang8DeclSpec16getSpecifierNameENS_17ConstexprSpecKindE, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 ret ptr %switch.load @@ -1915,7 +1915,7 @@ define dso_local noundef zeroext i1 @_ZN5clang8DeclSpec19SetStorageClassSpecERNS switch.lookup: ; preds = %17 store i32 49, ptr %5, align 4, !tbaa !11 %switch.tableidx = add nsw i32 %2, -2 - %21 = zext i32 %switch.tableidx to i64 + %21 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5clang8DeclSpec19SetStorageClassSpecERNS_4SemaENS0_3SCSENS_14SourceLocationERPKcRjRKNS_14PrintingPolicyE, i64 0, i64 %21 %switch.load = load ptr, ptr %switch.gep, align 8 store ptr %switch.load, ptr %4, align 8, !tbaa !771 @@ -2076,7 +2076,7 @@ define dso_local noundef zeroext i1 @_ZN5clang8DeclSpec25SetStorageClassSpecThre switch.lookup: ; preds = %5 %switch.tableidx = add nsw i32 %9, -1 - %10 = zext i32 %switch.tableidx to i64 + %10 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang8DeclSpec6FinishERNS_4SemaERKNS_14PrintingPolicyE.10, i64 0, i64 %10 %switch.load = load ptr, ptr %switch.gep, align 8 store ptr %switch.load, ptr %3, align 8, !tbaa !771 @@ -2120,7 +2120,7 @@ define dso_local noundef zeroext i1 @_ZN5clang8DeclSpec16SetTypeSpecWidthENS_18T .split: ; preds = %14 %switch.tableidx = add nsw i32 %10, -1 - %15 = zext i32 %switch.tableidx to i64 + %15 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang8DeclSpec16SetTypeSpecWidthENS_18TypeSpecifierWidthENS_14SourceLocationERPKcRjRKNS_14PrintingPolicyE, i64 0, i64 %15 %switch.load = load ptr, ptr %switch.gep, align 8 store ptr %switch.load, ptr %3, align 8, !tbaa !771 @@ -3056,7 +3056,7 @@ define dso_local noundef zeroext i1 @_ZN5clang8DeclSpec16SetConstexprSpecENS_17C switch.lookup: ; preds = %5 %switch.tableidx = add nsw i32 %9, -1 - %10 = zext i32 %switch.tableidx to i64 + %10 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang8DeclSpec16SetConstexprSpecENS_17ConstexprSpecKindENS_14SourceLocationERPKcRj, i64 0, i64 %10 %switch.load = load ptr, ptr %switch.gep, align 8 store ptr %switch.load, ptr %3, align 8, !tbaa !771 @@ -7405,7 +7405,7 @@ _ZN4llvm15SmallVectorImplIcE7reserveEm.exit.i.i: ; preds = %2055, %2059 switch.lookup782: ; preds = %_ZN4llvm15SmallVectorImplIcE7reserveEm.exit.i.i, %2053 %2063 = phi i64 [ %2062, %_ZN4llvm15SmallVectorImplIcE7reserveEm.exit.i.i ], [ 0, %2053 ] %switch.tableidx = add nsw i32 %2052, -1 - %2064 = zext i32 %switch.tableidx to i64 + %2064 = zext nneg i32 %switch.tableidx to i64 %switch.gep783 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang8DeclSpec6FinishERNS_4SemaERKNS_14PrintingPolicyE.10, i64 0, i64 %2064 %switch.load784 = load ptr, ptr %switch.gep783, align 8 %2065 = call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %switch.load784) #22 diff --git a/bench/llvm/optimized/LegalizerHelper.ll b/bench/llvm/optimized/LegalizerHelper.ll index 0ca74fec50d..807f7d18e32 100644 --- a/bench/llvm/optimized/LegalizerHelper.ll +++ b/bench/llvm/optimized/LegalizerHelper.ll @@ -18579,7 +18579,7 @@ _ZNK4llvm15LegalizerHelper26getStackTemporaryAlignmentENS_3LLTENS_5AlignE.exit: %99 = getelementptr inbounds nuw i8, ptr %2, i64 68 %.val = load i16, ptr %99, align 4, !tbaa !140 %switch.tableidx = add nsw i16 %.val, -214 - %100 = zext i16 %switch.tableidx to i64 + %100 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [6 x i64], ptr @switch.table._ZN4llvm15LegalizerHelper23createResetStateLibcallERNS_16MachineIRBuilderERNS_12MachineInstrERNS_20LostDebugLocObserverE, i64 0, i64 %100 %switch.load = load i64, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %9) #19 @@ -19018,7 +19018,7 @@ _ZNK4llvm15LegalizerHelper26getStackTemporaryAlignmentENS_3LLTENS_5AlignE.exit: %103 = getelementptr inbounds nuw i8, ptr %2, i64 68 %.val = load i16, ptr %103, align 4, !tbaa !140 %switch.tableidx = add nsw i16 %.val, -214 - %104 = zext i16 %switch.tableidx to i64 + %104 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [6 x i64], ptr @switch.table._ZN4llvm15LegalizerHelper23createResetStateLibcallERNS_16MachineIRBuilderERNS_12MachineInstrERNS_20LostDebugLocObserverE, i64 0, i64 %104 %switch.load = load i64, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %13) #19 @@ -20028,7 +20028,7 @@ switch.lookup: %44 = getelementptr inbounds nuw i8, ptr %2, i64 68 %.val = load i16, ptr %44, align 4, !tbaa !140 %switch.tableidx = add nsw i16 %.val, -214 - %45 = zext i16 %switch.tableidx to i64 + %45 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [6 x i64], ptr @switch.table._ZN4llvm15LegalizerHelper23createResetStateLibcallERNS_16MachineIRBuilderERNS_12MachineInstrERNS_20LostDebugLocObserverE, i64 0, i64 %45 %switch.load = load i64, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %7) #19 @@ -20417,7 +20417,7 @@ define internal fastcc noundef range(i32 14, 316) i32 @_ZL12getRTLibDescjj(i32 n switch.lookup: ; preds = %2 %3 = add i32 %1, -32 %4 = tail call i32 @llvm.fshl.i32(i32 %3, i32 %3, i32 28) - %5 = zext i32 %4 to i64 + %5 = zext nneg i32 %4 to i64 %switch.gep = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj, i64 0, i64 %5 %switch.load = load i32, ptr %switch.gep, align 4 br label %145 @@ -20425,7 +20425,7 @@ switch.lookup: ; preds = %2 switch.lookup47: ; preds = %2 %6 = add i32 %1, -32 %7 = tail call i32 @llvm.fshl.i32(i32 %6, i32 %6, i32 28) - %8 = zext i32 %7 to i64 + %8 = zext nneg i32 %7 to i64 %switch.gep48 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.22, i64 0, i64 %8 %switch.load49 = load i32, ptr %switch.gep48, align 4 br label %145 @@ -20529,7 +20529,7 @@ switch.lookup47: ; preds = %2 switch.lookup50: ; preds = %2 %33 = add i32 %1, -32 %34 = tail call i32 @llvm.fshl.i32(i32 %33, i32 %33, i32 28) - %35 = zext i32 %34 to i64 + %35 = zext nneg i32 %34 to i64 %switch.gep51 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.23, i64 0, i64 %35 %switch.load52 = load i32, ptr %switch.gep51, align 4 br label %145 @@ -20537,7 +20537,7 @@ switch.lookup50: ; preds = %2 switch.lookup53: ; preds = %2 %36 = add i32 %1, -32 %37 = tail call i32 @llvm.fshl.i32(i32 %36, i32 %36, i32 28) - %38 = zext i32 %37 to i64 + %38 = zext nneg i32 %37 to i64 %switch.gep54 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.24, i64 0, i64 %38 %switch.load55 = load i32, ptr %switch.gep54, align 4 br label %145 @@ -20545,7 +20545,7 @@ switch.lookup53: ; preds = %2 switch.lookup56: ; preds = %2 %39 = add i32 %1, -32 %40 = tail call i32 @llvm.fshl.i32(i32 %39, i32 %39, i32 28) - %41 = zext i32 %40 to i64 + %41 = zext nneg i32 %40 to i64 %switch.gep57 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.25, i64 0, i64 %41 %switch.load58 = load i32, ptr %switch.gep57, align 4 br label %145 @@ -20553,7 +20553,7 @@ switch.lookup56: ; preds = %2 switch.lookup59: ; preds = %2 %42 = add i32 %1, -32 %43 = tail call i32 @llvm.fshl.i32(i32 %42, i32 %42, i32 28) - %44 = zext i32 %43 to i64 + %44 = zext nneg i32 %43 to i64 %switch.gep60 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.26, i64 0, i64 %44 %switch.load61 = load i32, ptr %switch.gep60, align 4 br label %145 @@ -20561,7 +20561,7 @@ switch.lookup59: ; preds = %2 switch.lookup62: ; preds = %2 %45 = add i32 %1, -32 %46 = tail call i32 @llvm.fshl.i32(i32 %45, i32 %45, i32 28) - %47 = zext i32 %46 to i64 + %47 = zext nneg i32 %46 to i64 %switch.gep63 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.27, i64 0, i64 %47 %switch.load64 = load i32, ptr %switch.gep63, align 4 br label %145 @@ -20569,7 +20569,7 @@ switch.lookup62: ; preds = %2 switch.lookup65: ; preds = %2 %48 = add i32 %1, -32 %49 = tail call i32 @llvm.fshl.i32(i32 %48, i32 %48, i32 28) - %50 = zext i32 %49 to i64 + %50 = zext nneg i32 %49 to i64 %switch.gep66 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.28, i64 0, i64 %50 %switch.load67 = load i32, ptr %switch.gep66, align 4 br label %145 @@ -20577,7 +20577,7 @@ switch.lookup65: ; preds = %2 switch.lookup68: ; preds = %2 %51 = add i32 %1, -32 %52 = tail call i32 @llvm.fshl.i32(i32 %51, i32 %51, i32 28) - %53 = zext i32 %52 to i64 + %53 = zext nneg i32 %52 to i64 %switch.gep69 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.29, i64 0, i64 %53 %switch.load70 = load i32, ptr %switch.gep69, align 4 br label %145 @@ -20585,7 +20585,7 @@ switch.lookup68: ; preds = %2 switch.lookup71: ; preds = %2 %54 = add i32 %1, -32 %55 = tail call i32 @llvm.fshl.i32(i32 %54, i32 %54, i32 28) - %56 = zext i32 %55 to i64 + %56 = zext nneg i32 %55 to i64 %switch.gep72 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.30, i64 0, i64 %56 %switch.load73 = load i32, ptr %switch.gep72, align 4 br label %145 @@ -20593,7 +20593,7 @@ switch.lookup71: ; preds = %2 switch.lookup74: ; preds = %2 %57 = add i32 %1, -32 %58 = tail call i32 @llvm.fshl.i32(i32 %57, i32 %57, i32 28) - %59 = zext i32 %58 to i64 + %59 = zext nneg i32 %58 to i64 %switch.gep75 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.31, i64 0, i64 %59 %switch.load76 = load i32, ptr %switch.gep75, align 4 br label %145 @@ -20601,7 +20601,7 @@ switch.lookup74: ; preds = %2 switch.lookup77: ; preds = %2 %60 = add i32 %1, -32 %61 = tail call i32 @llvm.fshl.i32(i32 %60, i32 %60, i32 28) - %62 = zext i32 %61 to i64 + %62 = zext nneg i32 %61 to i64 %switch.gep78 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.32, i64 0, i64 %62 %switch.load79 = load i32, ptr %switch.gep78, align 4 br label %145 @@ -20609,7 +20609,7 @@ switch.lookup77: ; preds = %2 switch.lookup80: ; preds = %2 %63 = add i32 %1, -32 %64 = tail call i32 @llvm.fshl.i32(i32 %63, i32 %63, i32 28) - %65 = zext i32 %64 to i64 + %65 = zext nneg i32 %64 to i64 %switch.gep81 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.33, i64 0, i64 %65 %switch.load82 = load i32, ptr %switch.gep81, align 4 br label %145 @@ -20617,7 +20617,7 @@ switch.lookup80: ; preds = %2 switch.lookup83: ; preds = %2 %66 = add i32 %1, -32 %67 = tail call i32 @llvm.fshl.i32(i32 %66, i32 %66, i32 28) - %68 = zext i32 %67 to i64 + %68 = zext nneg i32 %67 to i64 %switch.gep84 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.34, i64 0, i64 %68 %switch.load85 = load i32, ptr %switch.gep84, align 4 br label %145 @@ -20625,7 +20625,7 @@ switch.lookup83: ; preds = %2 switch.lookup86: ; preds = %2 %69 = add i32 %1, -32 %70 = tail call i32 @llvm.fshl.i32(i32 %69, i32 %69, i32 28) - %71 = zext i32 %70 to i64 + %71 = zext nneg i32 %70 to i64 %switch.gep87 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.35, i64 0, i64 %71 %switch.load88 = load i32, ptr %switch.gep87, align 4 br label %145 @@ -20633,7 +20633,7 @@ switch.lookup86: ; preds = %2 switch.lookup89: ; preds = %2 %72 = add i32 %1, -32 %73 = tail call i32 @llvm.fshl.i32(i32 %72, i32 %72, i32 28) - %74 = zext i32 %73 to i64 + %74 = zext nneg i32 %73 to i64 %switch.gep90 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.36, i64 0, i64 %74 %switch.load91 = load i32, ptr %switch.gep90, align 4 br label %145 @@ -20641,7 +20641,7 @@ switch.lookup89: ; preds = %2 switch.lookup92: ; preds = %2 %75 = add i32 %1, -32 %76 = tail call i32 @llvm.fshl.i32(i32 %75, i32 %75, i32 28) - %77 = zext i32 %76 to i64 + %77 = zext nneg i32 %76 to i64 %switch.gep93 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.37, i64 0, i64 %77 %switch.load94 = load i32, ptr %switch.gep93, align 4 br label %145 @@ -20649,7 +20649,7 @@ switch.lookup92: ; preds = %2 switch.lookup95: ; preds = %2 %78 = add i32 %1, -32 %79 = tail call i32 @llvm.fshl.i32(i32 %78, i32 %78, i32 28) - %80 = zext i32 %79 to i64 + %80 = zext nneg i32 %79 to i64 %switch.gep96 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.38, i64 0, i64 %80 %switch.load97 = load i32, ptr %switch.gep96, align 4 br label %145 @@ -20657,7 +20657,7 @@ switch.lookup95: ; preds = %2 switch.lookup98: ; preds = %2 %81 = add i32 %1, -32 %82 = tail call i32 @llvm.fshl.i32(i32 %81, i32 %81, i32 28) - %83 = zext i32 %82 to i64 + %83 = zext nneg i32 %82 to i64 %switch.gep99 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.39, i64 0, i64 %83 %switch.load100 = load i32, ptr %switch.gep99, align 4 br label %145 @@ -20665,7 +20665,7 @@ switch.lookup98: ; preds = %2 switch.lookup101: ; preds = %2 %84 = add i32 %1, -32 %85 = tail call i32 @llvm.fshl.i32(i32 %84, i32 %84, i32 28) - %86 = zext i32 %85 to i64 + %86 = zext nneg i32 %85 to i64 %switch.gep102 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.40, i64 0, i64 %86 %switch.load103 = load i32, ptr %switch.gep102, align 4 br label %145 @@ -20673,7 +20673,7 @@ switch.lookup101: ; preds = %2 switch.lookup104: ; preds = %2 %87 = add i32 %1, -32 %88 = tail call i32 @llvm.fshl.i32(i32 %87, i32 %87, i32 28) - %89 = zext i32 %88 to i64 + %89 = zext nneg i32 %88 to i64 %switch.gep105 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.41, i64 0, i64 %89 %switch.load106 = load i32, ptr %switch.gep105, align 4 br label %145 @@ -20681,7 +20681,7 @@ switch.lookup104: ; preds = %2 switch.lookup107: ; preds = %2 %90 = add i32 %1, -32 %91 = tail call i32 @llvm.fshl.i32(i32 %90, i32 %90, i32 28) - %92 = zext i32 %91 to i64 + %92 = zext nneg i32 %91 to i64 %switch.gep108 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.42, i64 0, i64 %92 %switch.load109 = load i32, ptr %switch.gep108, align 4 br label %145 @@ -20689,7 +20689,7 @@ switch.lookup107: ; preds = %2 switch.lookup110: ; preds = %2 %93 = add i32 %1, -32 %94 = tail call i32 @llvm.fshl.i32(i32 %93, i32 %93, i32 28) - %95 = zext i32 %94 to i64 + %95 = zext nneg i32 %94 to i64 %switch.gep111 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.43, i64 0, i64 %95 %switch.load112 = load i32, ptr %switch.gep111, align 4 br label %145 @@ -20697,7 +20697,7 @@ switch.lookup110: ; preds = %2 switch.lookup113: ; preds = %2 %96 = add i32 %1, -32 %97 = tail call i32 @llvm.fshl.i32(i32 %96, i32 %96, i32 28) - %98 = zext i32 %97 to i64 + %98 = zext nneg i32 %97 to i64 %switch.gep114 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.44, i64 0, i64 %98 %switch.load115 = load i32, ptr %switch.gep114, align 4 br label %145 @@ -20705,7 +20705,7 @@ switch.lookup113: ; preds = %2 switch.lookup116: ; preds = %2 %99 = add i32 %1, -32 %100 = tail call i32 @llvm.fshl.i32(i32 %99, i32 %99, i32 28) - %101 = zext i32 %100 to i64 + %101 = zext nneg i32 %100 to i64 %switch.gep117 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.45, i64 0, i64 %101 %switch.load118 = load i32, ptr %switch.gep117, align 4 br label %145 @@ -20713,7 +20713,7 @@ switch.lookup116: ; preds = %2 switch.lookup119: ; preds = %2 %102 = add i32 %1, -32 %103 = tail call i32 @llvm.fshl.i32(i32 %102, i32 %102, i32 28) - %104 = zext i32 %103 to i64 + %104 = zext nneg i32 %103 to i64 %switch.gep120 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.46, i64 0, i64 %104 %switch.load121 = load i32, ptr %switch.gep120, align 4 br label %145 @@ -20721,7 +20721,7 @@ switch.lookup119: ; preds = %2 switch.lookup122: ; preds = %2 %105 = add i32 %1, -32 %106 = tail call i32 @llvm.fshl.i32(i32 %105, i32 %105, i32 28) - %107 = zext i32 %106 to i64 + %107 = zext nneg i32 %106 to i64 %switch.gep123 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.47, i64 0, i64 %107 %switch.load124 = load i32, ptr %switch.gep123, align 4 br label %145 @@ -20729,7 +20729,7 @@ switch.lookup122: ; preds = %2 switch.lookup125: ; preds = %2 %108 = add i32 %1, -32 %109 = tail call i32 @llvm.fshl.i32(i32 %108, i32 %108, i32 28) - %110 = zext i32 %109 to i64 + %110 = zext nneg i32 %109 to i64 %switch.gep126 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.48, i64 0, i64 %110 %switch.load127 = load i32, ptr %switch.gep126, align 4 br label %145 @@ -20737,7 +20737,7 @@ switch.lookup125: ; preds = %2 switch.lookup128: ; preds = %2 %111 = add i32 %1, -32 %112 = tail call i32 @llvm.fshl.i32(i32 %111, i32 %111, i32 28) - %113 = zext i32 %112 to i64 + %113 = zext nneg i32 %112 to i64 %switch.gep129 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.49, i64 0, i64 %113 %switch.load130 = load i32, ptr %switch.gep129, align 4 br label %145 @@ -20745,7 +20745,7 @@ switch.lookup128: ; preds = %2 switch.lookup131: ; preds = %2 %114 = add i32 %1, -32 %115 = tail call i32 @llvm.fshl.i32(i32 %114, i32 %114, i32 28) - %116 = zext i32 %115 to i64 + %116 = zext nneg i32 %115 to i64 %switch.gep132 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.50, i64 0, i64 %116 %switch.load133 = load i32, ptr %switch.gep132, align 4 br label %145 @@ -20753,7 +20753,7 @@ switch.lookup131: ; preds = %2 switch.lookup134: ; preds = %2 %117 = add i32 %1, -32 %118 = tail call i32 @llvm.fshl.i32(i32 %117, i32 %117, i32 28) - %119 = zext i32 %118 to i64 + %119 = zext nneg i32 %118 to i64 %switch.gep135 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.51, i64 0, i64 %119 %switch.load136 = load i32, ptr %switch.gep135, align 4 br label %145 @@ -20761,7 +20761,7 @@ switch.lookup134: ; preds = %2 switch.lookup137: ; preds = %2 %120 = add i32 %1, -32 %121 = tail call i32 @llvm.fshl.i32(i32 %120, i32 %120, i32 28) - %122 = zext i32 %121 to i64 + %122 = zext nneg i32 %121 to i64 %switch.gep138 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.52, i64 0, i64 %122 %switch.load139 = load i32, ptr %switch.gep138, align 4 br label %145 @@ -20769,7 +20769,7 @@ switch.lookup137: ; preds = %2 switch.lookup140: ; preds = %2 %123 = add i32 %1, -32 %124 = tail call i32 @llvm.fshl.i32(i32 %123, i32 %123, i32 28) - %125 = zext i32 %124 to i64 + %125 = zext nneg i32 %124 to i64 %switch.gep141 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.53, i64 0, i64 %125 %switch.load142 = load i32, ptr %switch.gep141, align 4 br label %145 @@ -20777,7 +20777,7 @@ switch.lookup140: ; preds = %2 switch.lookup143: ; preds = %2 %126 = add i32 %1, -32 %127 = tail call i32 @llvm.fshl.i32(i32 %126, i32 %126, i32 28) - %128 = zext i32 %127 to i64 + %128 = zext nneg i32 %127 to i64 %switch.gep144 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.54, i64 0, i64 %128 %switch.load145 = load i32, ptr %switch.gep144, align 4 br label %145 @@ -20785,7 +20785,7 @@ switch.lookup143: ; preds = %2 switch.lookup146: ; preds = %2 %129 = add i32 %1, -32 %130 = tail call i32 @llvm.fshl.i32(i32 %129, i32 %129, i32 28) - %131 = zext i32 %130 to i64 + %131 = zext nneg i32 %130 to i64 %switch.gep147 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.55, i64 0, i64 %131 %switch.load148 = load i32, ptr %switch.gep147, align 4 br label %145 @@ -20793,7 +20793,7 @@ switch.lookup146: ; preds = %2 switch.lookup149: ; preds = %2 %132 = add i32 %1, -32 %133 = tail call i32 @llvm.fshl.i32(i32 %132, i32 %132, i32 28) - %134 = zext i32 %133 to i64 + %134 = zext nneg i32 %133 to i64 %switch.gep150 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.56, i64 0, i64 %134 %switch.load151 = load i32, ptr %switch.gep150, align 4 br label %145 @@ -20801,7 +20801,7 @@ switch.lookup149: ; preds = %2 switch.lookup152: ; preds = %2 %135 = add i32 %1, -32 %136 = tail call i32 @llvm.fshl.i32(i32 %135, i32 %135, i32 28) - %137 = zext i32 %136 to i64 + %137 = zext nneg i32 %136 to i64 %switch.gep153 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.57, i64 0, i64 %137 %switch.load154 = load i32, ptr %switch.gep153, align 4 br label %145 @@ -20809,7 +20809,7 @@ switch.lookup152: ; preds = %2 switch.lookup155: ; preds = %2 %138 = add i32 %1, -32 %139 = tail call i32 @llvm.fshl.i32(i32 %138, i32 %138, i32 28) - %140 = zext i32 %139 to i64 + %140 = zext nneg i32 %139 to i64 %switch.gep156 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.58, i64 0, i64 %140 %switch.load157 = load i32, ptr %switch.gep156, align 4 br label %145 @@ -20817,7 +20817,7 @@ switch.lookup155: ; preds = %2 switch.lookup158: ; preds = %2 %141 = add i32 %1, -32 %142 = tail call i32 @llvm.fshl.i32(i32 %141, i32 %141, i32 28) - %143 = zext i32 %142 to i64 + %143 = zext nneg i32 %142 to i64 %switch.gep159 = getelementptr inbounds nuw [7 x i32], ptr @switch.table._ZL12getRTLibDescjj.59, i64 0, i64 %143 %switch.load160 = load i32, ptr %switch.gep159, align 4 br label %145 @@ -58741,7 +58741,7 @@ switch.lookup: ; preds = %_ZNK4llvm3LLT14getN %43 = getelementptr inbounds nuw i8, ptr %1, i64 68 %44 = load i16, ptr %43, align 4, !tbaa !140 %switch.tableidx = add nsw i16 %44, -289 - %45 = zext i16 %switch.tableidx to i64 + %45 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [15 x i32], ptr @switch.table._ZN4llvm15LegalizerHelper29fewerElementsVectorReductionsERNS_12MachineInstrEjNS_3LLTE, i64 0, i64 %45 %switch.load = load i32, ptr %switch.gep, align 4 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #19 diff --git a/bench/llvm/optimized/OpenMPKinds.ll b/bench/llvm/optimized/OpenMPKinds.ll index 3d749dcf0cc..02ff686ac6d 100644 --- a/bench/llvm/optimized/OpenMPKinds.ll +++ b/bench/llvm/optimized/OpenMPKinds.ll @@ -1125,7 +1125,7 @@ define dso_local noundef ptr @_ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3om switch.lookup34: ; preds = %2 %switch.tableidx = add nsw i32 %1, -2 - %3 = zext i32 %switch.tableidx to i64 + %3 = zext nneg i32 %switch.tableidx to i64 %switch.gep35 = getelementptr inbounds nuw [6 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.2, i64 0, i64 %3 %switch.load36 = load ptr, ptr %switch.gep35, align 8 br label %31 @@ -1159,115 +1159,115 @@ switch.lookup34: ; preds = %2 unreachable switch.lookup: ; preds = %2 - %12 = zext i32 %1 to i64 + %12 = zext nneg i32 %1 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj, i64 0, i64 %12 %switch.load = load ptr, ptr %switch.gep, align 8 br label %31 switch.lookup37: ; preds = %2 - %13 = zext i32 %1 to i64 + %13 = zext nneg i32 %1 to i64 %switch.gep38 = getelementptr inbounds nuw [10 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.3, i64 0, i64 %13 %switch.load39 = load ptr, ptr %switch.gep38, align 8 br label %31 switch.lookup40: ; preds = %2 - %14 = zext i32 %1 to i64 + %14 = zext nneg i32 %1 to i64 %switch.gep41 = getelementptr inbounds nuw [11 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.15, i64 0, i64 %14 %switch.load42 = load ptr, ptr %switch.gep41, align 8 br label %31 switch.lookup43: ; preds = %2 - %15 = zext i32 %1 to i64 + %15 = zext nneg i32 %1 to i64 %switch.gep44 = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.5, i64 0, i64 %15 %switch.load45 = load ptr, ptr %switch.gep44, align 8 br label %31 switch.lookup46: ; preds = %2 - %16 = zext i32 %1 to i64 + %16 = zext nneg i32 %1 to i64 %switch.gep47 = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.6, i64 0, i64 %16 %switch.load48 = load ptr, ptr %switch.gep47, align 8 br label %31 switch.lookup49: ; preds = %2 - %17 = zext i32 %1 to i64 + %17 = zext nneg i32 %1 to i64 %switch.gep50 = getelementptr inbounds nuw [14 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.7, i64 0, i64 %17 %switch.load51 = load ptr, ptr %switch.gep50, align 8 br label %31 switch.lookup52: ; preds = %2, %2 - %18 = zext i32 %1 to i64 + %18 = zext nneg i32 %1 to i64 %switch.gep53 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.8, i64 0, i64 %18 %switch.load54 = load ptr, ptr %switch.gep53, align 8 br label %31 switch.lookup55: ; preds = %2 - %19 = zext i32 %1 to i64 + %19 = zext nneg i32 %1 to i64 %switch.gep56 = getelementptr inbounds nuw [14 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.9, i64 0, i64 %19 %switch.load57 = load ptr, ptr %switch.gep56, align 8 br label %31 switch.lookup58: ; preds = %2 - %20 = zext i32 %1 to i64 + %20 = zext nneg i32 %1 to i64 %switch.gep59 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.10, i64 0, i64 %20 %switch.load60 = load ptr, ptr %switch.gep59, align 8 br label %31 switch.lookup61: ; preds = %2 - %21 = zext i32 %1 to i64 + %21 = zext nneg i32 %1 to i64 %switch.gep62 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.11, i64 0, i64 %21 %switch.load63 = load ptr, ptr %switch.gep62, align 8 br label %31 switch.lookup64: ; preds = %2 - %22 = zext i32 %1 to i64 + %22 = zext nneg i32 %1 to i64 %switch.gep65 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.12, i64 0, i64 %22 %switch.load66 = load ptr, ptr %switch.gep65, align 8 br label %31 switch.lookup67: ; preds = %2 - %23 = zext i32 %1 to i64 + %23 = zext nneg i32 %1 to i64 %switch.gep68 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.13, i64 0, i64 %23 %switch.load69 = load ptr, ptr %switch.gep68, align 8 br label %31 switch.lookup70: ; preds = %2 - %24 = zext i32 %1 to i64 + %24 = zext nneg i32 %1 to i64 %switch.gep71 = getelementptr inbounds nuw [5 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.14, i64 0, i64 %24 %switch.load72 = load ptr, ptr %switch.gep71, align 8 br label %31 switch.lookup73: ; preds = %2 - %25 = zext i32 %1 to i64 + %25 = zext nneg i32 %1 to i64 %switch.gep74 = getelementptr inbounds nuw [11 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.15, i64 0, i64 %25 %switch.load75 = load ptr, ptr %switch.gep74, align 8 br label %31 switch.lookup76: ; preds = %2 - %26 = zext i32 %1 to i64 + %26 = zext nneg i32 %1 to i64 %switch.gep77 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.16, i64 0, i64 %26 %switch.load78 = load ptr, ptr %switch.gep77, align 8 br label %31 switch.lookup79: ; preds = %2 - %27 = zext i32 %1 to i64 + %27 = zext nneg i32 %1 to i64 %switch.gep80 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.17, i64 0, i64 %27 %switch.load81 = load ptr, ptr %switch.gep80, align 8 br label %31 switch.lookup82: ; preds = %2 - %28 = zext i32 %1 to i64 + %28 = zext nneg i32 %1 to i64 %switch.gep83 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.18, i64 0, i64 %28 %switch.load84 = load ptr, ptr %switch.gep83, align 8 br label %31 switch.lookup85: ; preds = %2 - %29 = zext i32 %1 to i64 + %29 = zext nneg i32 %1 to i64 %switch.gep86 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.19, i64 0, i64 %29 %switch.load87 = load ptr, ptr %switch.gep86, align 8 br label %31 switch.lookup88: ; preds = %2 - %30 = zext i32 %1 to i64 + %30 = zext nneg i32 %1 to i64 %switch.gep89 = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN5clang29getOpenMPSimpleClauseTypeNameEN4llvm3omp6ClauseEj.20, i64 0, i64 %30 %switch.load90 = load ptr, ptr %switch.gep89, align 8 br label %31 diff --git a/bench/llvm/optimized/SymbolGraphSerializer.ll b/bench/llvm/optimized/SymbolGraphSerializer.ll index 867e2cda77e..37658028e6b 100644 --- a/bench/llvm/optimized/SymbolGraphSerializer.ll +++ b/bench/llvm/optimized/SymbolGraphSerializer.ll @@ -1469,10 +1469,10 @@ _ZN4llvm4json5Array12emplace_backIJRKNS_9StringRefEEEEvDpOT_.exit.i: ; preds = % ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local { ptr, i64 } @_ZN5clang10extractapi21SymbolGraphSerializer21getRelationshipStringENS1_16RelationshipKindE(i32 noundef %0) local_unnamed_addr #6 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN5clang10extractapi21SymbolGraphSerializer21serializeRelationshipENS1_16RelationshipKindERKNS0_15SymbolReferenceES5_RNS0_14ExtendedModuleE.28, i64 0, i64 %1 %switch.load = load i64, ptr %switch.gep, align 8 - %2 = zext i32 %0 to i64 + %2 = zext nneg i32 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang10extractapi21SymbolGraphSerializer21serializeRelationshipENS1_16RelationshipKindERKNS0_15SymbolReferenceES5_RNS0_14ExtendedModuleE.29, i64 0, i64 %2 %switch.load2 = load ptr, ptr %switch.gep1, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load2, 0 @@ -1526,10 +1526,10 @@ switch.lookup: ; preds = %5 %32 = getelementptr inbounds nuw i8, ptr %11, i64 48 store ptr %10, ptr %32, align 8, !tbaa !104 call void @_ZN4llvm11raw_ostream16SetBufferAndModeEPcmNS0_10BufferKindE(ptr noundef nonnull align 8 dereferenceable(56) %11, ptr noundef null, i64 noundef 0, i32 noundef 0) #18 - %33 = zext i32 %1 to i64 + %33 = zext nneg i32 %1 to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN5clang10extractapi21SymbolGraphSerializer21serializeRelationshipENS1_16RelationshipKindERKNS0_15SymbolReferenceES5_RNS0_14ExtendedModuleE.28, i64 0, i64 %33 %switch.load = load i64, ptr %switch.gep, align 8 - %34 = zext i32 %1 to i64 + %34 = zext nneg i32 %1 to i64 %switch.gep70 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang10extractapi21SymbolGraphSerializer21serializeRelationshipENS1_16RelationshipKindERKNS0_15SymbolReferenceES5_RNS0_14ExtendedModuleE.29, i64 0, i64 %34 %switch.load71 = load ptr, ptr %switch.gep70, align 8 %35 = getelementptr inbounds nuw i8, ptr %11, i64 24 @@ -1964,10 +1964,10 @@ _ZN4llvm4json9ObjectKeyD2Ev.exit50: ; preds = %_ZN4llvm4json9Objec call void @_ZN4llvm4json5Value7destroyEv(ptr noundef nonnull align 8 dereferenceable(40) %18) #18 call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #18 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #18 - %207 = zext i32 %1 to i64 + %207 = zext nneg i32 %1 to i64 %switch.gep73 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN5clang10extractapi21SymbolGraphSerializer21serializeRelationshipENS1_16RelationshipKindERKNS0_15SymbolReferenceES5_RNS0_14ExtendedModuleE.28, i64 0, i64 %207 %switch.load74 = load i64, ptr %switch.gep73, align 8 - %208 = zext i32 %1 to i64 + %208 = zext nneg i32 %1 to i64 %switch.gep75 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN5clang10extractapi21SymbolGraphSerializer21serializeRelationshipENS1_16RelationshipKindERKNS0_15SymbolReferenceES5_RNS0_14ExtendedModuleE.29, i64 0, i64 %208 %switch.load76 = load ptr, ptr %switch.gep75, align 8 call void @_ZN4llvm4json5ValueC2ENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(40) %20, ptr nonnull %switch.load76, i64 %switch.load74) @@ -2311,10 +2311,10 @@ _ZN4llvm4json9ObjectKeyD2Ev.exit.i: ; preds = %_ZNKSt14default_del call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %55) #18, !noalias !128 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %57) #18, !noalias !128 %switch.tableidx = add nsw i8 %98, -4 - %112 = zext i8 %switch.tableidx to i64 + %112 = zext nneg i8 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %112 %switch.load = load i64, ptr %switch.gep, align 8 - %113 = zext i8 %switch.tableidx to i64 + %113 = zext nneg i8 %switch.tableidx to i64 %switch.gep122 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %113 %switch.load123 = load ptr, ptr %switch.gep122, align 8 call void @_ZN4llvm4json5ValueC2ENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(40) %57, ptr nonnull %switch.load123, i64 %switch.load) @@ -19179,9 +19179,9 @@ _ZN4llvm4json5ArrayD2Ev.exit: ; preds = %_ZSt8_DestroyIPN4ll %167 = getelementptr inbounds nuw i8, ptr %18, i64 8 %168 = getelementptr inbounds nuw i8, ptr %18, i64 16 %switch.tableidx = add nsw i8 %124, -4 - %169 = zext i8 %switch.tableidx to i64 + %169 = zext nneg i8 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %169 - %170 = zext i8 %switch.tableidx to i64 + %170 = zext nneg i8 %switch.tableidx to i64 %switch.gep123 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %170 br label %239 @@ -21348,10 +21348,10 @@ switch.lookup: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %110) #18, !noalias !275 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %111) #18, !noalias !275 %switch.tableidx = add nsw i8 %2, -4 - %292 = zext i8 %switch.tableidx to i64 + %292 = zext nneg i8 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %292 %switch.load = load i64, ptr %switch.gep, align 8 - %293 = zext i8 %switch.tableidx to i64 + %293 = zext nneg i8 %switch.tableidx to i64 %switch.gep952 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %293 %switch.load953 = load ptr, ptr %switch.gep952, align 8 %294 = getelementptr inbounds nuw i8, ptr %111, i64 32 @@ -21539,10 +21539,10 @@ switch.lookup954: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %107) #18, !noalias !290 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %108) #18, !noalias !290 %switch.tableidx955 = add nsw i8 %2, -4 - %358 = zext i8 %switch.tableidx955 to i64 + %358 = zext nneg i8 %switch.tableidx955 to i64 %switch.gep956 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %358 %switch.load957 = load i64, ptr %switch.gep956, align 8 - %359 = zext i8 %switch.tableidx955 to i64 + %359 = zext nneg i8 %switch.tableidx955 to i64 %switch.gep958 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %359 %switch.load959 = load ptr, ptr %switch.gep958, align 8 %360 = getelementptr inbounds nuw i8, ptr %108, i64 32 @@ -21730,10 +21730,10 @@ switch.lookup960: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %104) #18, !noalias !301 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %105) #18, !noalias !301 %switch.tableidx961 = add nsw i8 %2, -4 - %424 = zext i8 %switch.tableidx961 to i64 + %424 = zext nneg i8 %switch.tableidx961 to i64 %switch.gep962 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %424 %switch.load963 = load i64, ptr %switch.gep962, align 8 - %425 = zext i8 %switch.tableidx961 to i64 + %425 = zext nneg i8 %switch.tableidx961 to i64 %switch.gep964 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %425 %switch.load965 = load ptr, ptr %switch.gep964, align 8 %426 = getelementptr inbounds nuw i8, ptr %105, i64 32 @@ -21921,10 +21921,10 @@ switch.lookup966: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %101) #18, !noalias !312 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %102) #18, !noalias !312 %switch.tableidx967 = add nsw i8 %2, -4 - %490 = zext i8 %switch.tableidx967 to i64 + %490 = zext nneg i8 %switch.tableidx967 to i64 %switch.gep968 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %490 %switch.load969 = load i64, ptr %switch.gep968, align 8 - %491 = zext i8 %switch.tableidx967 to i64 + %491 = zext nneg i8 %switch.tableidx967 to i64 %switch.gep970 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %491 %switch.load971 = load ptr, ptr %switch.gep970, align 8 %492 = getelementptr inbounds nuw i8, ptr %102, i64 32 @@ -22112,10 +22112,10 @@ switch.lookup972: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %98) #18, !noalias !323 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %99) #18, !noalias !323 %switch.tableidx973 = add nsw i8 %2, -4 - %556 = zext i8 %switch.tableidx973 to i64 + %556 = zext nneg i8 %switch.tableidx973 to i64 %switch.gep974 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %556 %switch.load975 = load i64, ptr %switch.gep974, align 8 - %557 = zext i8 %switch.tableidx973 to i64 + %557 = zext nneg i8 %switch.tableidx973 to i64 %switch.gep976 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %557 %switch.load977 = load ptr, ptr %switch.gep976, align 8 %558 = getelementptr inbounds nuw i8, ptr %99, i64 32 @@ -22303,10 +22303,10 @@ switch.lookup978: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %95) #18, !noalias !334 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %96) #18, !noalias !334 %switch.tableidx979 = add nsw i8 %2, -4 - %622 = zext i8 %switch.tableidx979 to i64 + %622 = zext nneg i8 %switch.tableidx979 to i64 %switch.gep980 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %622 %switch.load981 = load i64, ptr %switch.gep980, align 8 - %623 = zext i8 %switch.tableidx979 to i64 + %623 = zext nneg i8 %switch.tableidx979 to i64 %switch.gep982 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %623 %switch.load983 = load ptr, ptr %switch.gep982, align 8 %624 = getelementptr inbounds nuw i8, ptr %96, i64 32 @@ -22494,10 +22494,10 @@ switch.lookup984: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %92) #18, !noalias !345 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %93) #18, !noalias !345 %switch.tableidx985 = add nsw i8 %2, -4 - %688 = zext i8 %switch.tableidx985 to i64 + %688 = zext nneg i8 %switch.tableidx985 to i64 %switch.gep986 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %688 %switch.load987 = load i64, ptr %switch.gep986, align 8 - %689 = zext i8 %switch.tableidx985 to i64 + %689 = zext nneg i8 %switch.tableidx985 to i64 %switch.gep988 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %689 %switch.load989 = load ptr, ptr %switch.gep988, align 8 %690 = getelementptr inbounds nuw i8, ptr %93, i64 32 @@ -22685,10 +22685,10 @@ switch.lookup990: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %89) #18, !noalias !356 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %90) #18, !noalias !356 %switch.tableidx991 = add nsw i8 %2, -4 - %754 = zext i8 %switch.tableidx991 to i64 + %754 = zext nneg i8 %switch.tableidx991 to i64 %switch.gep992 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %754 %switch.load993 = load i64, ptr %switch.gep992, align 8 - %755 = zext i8 %switch.tableidx991 to i64 + %755 = zext nneg i8 %switch.tableidx991 to i64 %switch.gep994 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %755 %switch.load995 = load ptr, ptr %switch.gep994, align 8 %756 = getelementptr inbounds nuw i8, ptr %90, i64 32 @@ -22876,10 +22876,10 @@ switch.lookup996: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %86) #18, !noalias !367 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %87) #18, !noalias !367 %switch.tableidx997 = add nsw i8 %2, -4 - %820 = zext i8 %switch.tableidx997 to i64 + %820 = zext nneg i8 %switch.tableidx997 to i64 %switch.gep998 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %820 %switch.load999 = load i64, ptr %switch.gep998, align 8 - %821 = zext i8 %switch.tableidx997 to i64 + %821 = zext nneg i8 %switch.tableidx997 to i64 %switch.gep1000 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %821 %switch.load1001 = load ptr, ptr %switch.gep1000, align 8 %822 = getelementptr inbounds nuw i8, ptr %87, i64 32 @@ -23067,10 +23067,10 @@ switch.lookup1002: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %83) #18, !noalias !378 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %84) #18, !noalias !378 %switch.tableidx1003 = add nsw i8 %2, -4 - %886 = zext i8 %switch.tableidx1003 to i64 + %886 = zext nneg i8 %switch.tableidx1003 to i64 %switch.gep1004 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %886 %switch.load1005 = load i64, ptr %switch.gep1004, align 8 - %887 = zext i8 %switch.tableidx1003 to i64 + %887 = zext nneg i8 %switch.tableidx1003 to i64 %switch.gep1006 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %887 %switch.load1007 = load ptr, ptr %switch.gep1006, align 8 %888 = getelementptr inbounds nuw i8, ptr %84, i64 32 @@ -23258,10 +23258,10 @@ switch.lookup1008: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %80) #18, !noalias !389 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %81) #18, !noalias !389 %switch.tableidx1009 = add nsw i8 %2, -4 - %952 = zext i8 %switch.tableidx1009 to i64 + %952 = zext nneg i8 %switch.tableidx1009 to i64 %switch.gep1010 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %952 %switch.load1011 = load i64, ptr %switch.gep1010, align 8 - %953 = zext i8 %switch.tableidx1009 to i64 + %953 = zext nneg i8 %switch.tableidx1009 to i64 %switch.gep1012 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %953 %switch.load1013 = load ptr, ptr %switch.gep1012, align 8 %954 = getelementptr inbounds nuw i8, ptr %81, i64 32 @@ -23449,10 +23449,10 @@ switch.lookup1014: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %77) #18, !noalias !400 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %78) #18, !noalias !400 %switch.tableidx1015 = add nsw i8 %2, -4 - %1018 = zext i8 %switch.tableidx1015 to i64 + %1018 = zext nneg i8 %switch.tableidx1015 to i64 %switch.gep1016 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1018 %switch.load1017 = load i64, ptr %switch.gep1016, align 8 - %1019 = zext i8 %switch.tableidx1015 to i64 + %1019 = zext nneg i8 %switch.tableidx1015 to i64 %switch.gep1018 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1019 %switch.load1019 = load ptr, ptr %switch.gep1018, align 8 %1020 = getelementptr inbounds nuw i8, ptr %78, i64 32 @@ -23640,10 +23640,10 @@ switch.lookup1020: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %74) #18, !noalias !411 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %75) #18, !noalias !411 %switch.tableidx1021 = add nsw i8 %2, -4 - %1084 = zext i8 %switch.tableidx1021 to i64 + %1084 = zext nneg i8 %switch.tableidx1021 to i64 %switch.gep1022 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1084 %switch.load1023 = load i64, ptr %switch.gep1022, align 8 - %1085 = zext i8 %switch.tableidx1021 to i64 + %1085 = zext nneg i8 %switch.tableidx1021 to i64 %switch.gep1024 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1085 %switch.load1025 = load ptr, ptr %switch.gep1024, align 8 %1086 = getelementptr inbounds nuw i8, ptr %75, i64 32 @@ -23831,10 +23831,10 @@ switch.lookup1026: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %71) #18, !noalias !422 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %72) #18, !noalias !422 %switch.tableidx1027 = add nsw i8 %2, -4 - %1150 = zext i8 %switch.tableidx1027 to i64 + %1150 = zext nneg i8 %switch.tableidx1027 to i64 %switch.gep1028 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1150 %switch.load1029 = load i64, ptr %switch.gep1028, align 8 - %1151 = zext i8 %switch.tableidx1027 to i64 + %1151 = zext nneg i8 %switch.tableidx1027 to i64 %switch.gep1030 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1151 %switch.load1031 = load ptr, ptr %switch.gep1030, align 8 %1152 = getelementptr inbounds nuw i8, ptr %72, i64 32 @@ -24022,10 +24022,10 @@ switch.lookup1032: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %68) #18, !noalias !433 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %69) #18, !noalias !433 %switch.tableidx1033 = add nsw i8 %2, -4 - %1216 = zext i8 %switch.tableidx1033 to i64 + %1216 = zext nneg i8 %switch.tableidx1033 to i64 %switch.gep1034 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1216 %switch.load1035 = load i64, ptr %switch.gep1034, align 8 - %1217 = zext i8 %switch.tableidx1033 to i64 + %1217 = zext nneg i8 %switch.tableidx1033 to i64 %switch.gep1036 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1217 %switch.load1037 = load ptr, ptr %switch.gep1036, align 8 %1218 = getelementptr inbounds nuw i8, ptr %69, i64 32 @@ -24213,10 +24213,10 @@ switch.lookup1038: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %65) #18, !noalias !444 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %66) #18, !noalias !444 %switch.tableidx1039 = add nsw i8 %2, -4 - %1282 = zext i8 %switch.tableidx1039 to i64 + %1282 = zext nneg i8 %switch.tableidx1039 to i64 %switch.gep1040 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1282 %switch.load1041 = load i64, ptr %switch.gep1040, align 8 - %1283 = zext i8 %switch.tableidx1039 to i64 + %1283 = zext nneg i8 %switch.tableidx1039 to i64 %switch.gep1042 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1283 %switch.load1043 = load ptr, ptr %switch.gep1042, align 8 %1284 = getelementptr inbounds nuw i8, ptr %66, i64 32 @@ -24404,10 +24404,10 @@ switch.lookup1044: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %62) #18, !noalias !455 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %63) #18, !noalias !455 %switch.tableidx1045 = add nsw i8 %2, -4 - %1348 = zext i8 %switch.tableidx1045 to i64 + %1348 = zext nneg i8 %switch.tableidx1045 to i64 %switch.gep1046 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1348 %switch.load1047 = load i64, ptr %switch.gep1046, align 8 - %1349 = zext i8 %switch.tableidx1045 to i64 + %1349 = zext nneg i8 %switch.tableidx1045 to i64 %switch.gep1048 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1349 %switch.load1049 = load ptr, ptr %switch.gep1048, align 8 %1350 = getelementptr inbounds nuw i8, ptr %63, i64 32 @@ -24595,10 +24595,10 @@ switch.lookup1050: ; preds = %3, %3, %3, %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %59) #18, !noalias !466 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %60) #18, !noalias !466 %switch.tableidx1051 = add nsw i8 %2, -4 - %1414 = zext i8 %switch.tableidx1051 to i64 + %1414 = zext nneg i8 %switch.tableidx1051 to i64 %switch.gep1052 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1414 %switch.load1053 = load i64, ptr %switch.gep1052, align 8 - %1415 = zext i8 %switch.tableidx1051 to i64 + %1415 = zext nneg i8 %switch.tableidx1051 to i64 %switch.gep1054 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1415 %switch.load1055 = load ptr, ptr %switch.gep1054, align 8 %1416 = getelementptr inbounds nuw i8, ptr %60, i64 32 @@ -24786,10 +24786,10 @@ switch.lookup1056: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %56) #18, !noalias !477 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %57) #18, !noalias !477 %switch.tableidx1057 = add nsw i8 %2, -4 - %1480 = zext i8 %switch.tableidx1057 to i64 + %1480 = zext nneg i8 %switch.tableidx1057 to i64 %switch.gep1058 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1480 %switch.load1059 = load i64, ptr %switch.gep1058, align 8 - %1481 = zext i8 %switch.tableidx1057 to i64 + %1481 = zext nneg i8 %switch.tableidx1057 to i64 %switch.gep1060 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1481 %switch.load1061 = load ptr, ptr %switch.gep1060, align 8 %1482 = getelementptr inbounds nuw i8, ptr %57, i64 32 @@ -24977,10 +24977,10 @@ switch.lookup1062: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %53) #18, !noalias !488 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %54) #18, !noalias !488 %switch.tableidx1063 = add nsw i8 %2, -4 - %1546 = zext i8 %switch.tableidx1063 to i64 + %1546 = zext nneg i8 %switch.tableidx1063 to i64 %switch.gep1064 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1546 %switch.load1065 = load i64, ptr %switch.gep1064, align 8 - %1547 = zext i8 %switch.tableidx1063 to i64 + %1547 = zext nneg i8 %switch.tableidx1063 to i64 %switch.gep1066 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1547 %switch.load1067 = load ptr, ptr %switch.gep1066, align 8 %1548 = getelementptr inbounds nuw i8, ptr %54, i64 32 @@ -25168,10 +25168,10 @@ switch.lookup1068: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %50) #18, !noalias !499 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %51) #18, !noalias !499 %switch.tableidx1069 = add nsw i8 %2, -4 - %1612 = zext i8 %switch.tableidx1069 to i64 + %1612 = zext nneg i8 %switch.tableidx1069 to i64 %switch.gep1070 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1612 %switch.load1071 = load i64, ptr %switch.gep1070, align 8 - %1613 = zext i8 %switch.tableidx1069 to i64 + %1613 = zext nneg i8 %switch.tableidx1069 to i64 %switch.gep1072 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1613 %switch.load1073 = load ptr, ptr %switch.gep1072, align 8 %1614 = getelementptr inbounds nuw i8, ptr %51, i64 32 @@ -25359,10 +25359,10 @@ switch.lookup1074: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %47) #18, !noalias !510 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %48) #18, !noalias !510 %switch.tableidx1075 = add nsw i8 %2, -4 - %1678 = zext i8 %switch.tableidx1075 to i64 + %1678 = zext nneg i8 %switch.tableidx1075 to i64 %switch.gep1076 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1678 %switch.load1077 = load i64, ptr %switch.gep1076, align 8 - %1679 = zext i8 %switch.tableidx1075 to i64 + %1679 = zext nneg i8 %switch.tableidx1075 to i64 %switch.gep1078 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1679 %switch.load1079 = load ptr, ptr %switch.gep1078, align 8 %1680 = getelementptr inbounds nuw i8, ptr %48, i64 32 @@ -25550,10 +25550,10 @@ switch.lookup1080: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %44) #18, !noalias !521 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %45) #18, !noalias !521 %switch.tableidx1081 = add nsw i8 %2, -4 - %1744 = zext i8 %switch.tableidx1081 to i64 + %1744 = zext nneg i8 %switch.tableidx1081 to i64 %switch.gep1082 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1744 %switch.load1083 = load i64, ptr %switch.gep1082, align 8 - %1745 = zext i8 %switch.tableidx1081 to i64 + %1745 = zext nneg i8 %switch.tableidx1081 to i64 %switch.gep1084 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1745 %switch.load1085 = load ptr, ptr %switch.gep1084, align 8 %1746 = getelementptr inbounds nuw i8, ptr %45, i64 32 @@ -25741,10 +25741,10 @@ switch.lookup1086: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %41) #18, !noalias !532 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %42) #18, !noalias !532 %switch.tableidx1087 = add nsw i8 %2, -4 - %1810 = zext i8 %switch.tableidx1087 to i64 + %1810 = zext nneg i8 %switch.tableidx1087 to i64 %switch.gep1088 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1810 %switch.load1089 = load i64, ptr %switch.gep1088, align 8 - %1811 = zext i8 %switch.tableidx1087 to i64 + %1811 = zext nneg i8 %switch.tableidx1087 to i64 %switch.gep1090 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1811 %switch.load1091 = load ptr, ptr %switch.gep1090, align 8 %1812 = getelementptr inbounds nuw i8, ptr %42, i64 32 @@ -25932,10 +25932,10 @@ switch.lookup1092: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %38) #18, !noalias !543 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %39) #18, !noalias !543 %switch.tableidx1093 = add nsw i8 %2, -4 - %1876 = zext i8 %switch.tableidx1093 to i64 + %1876 = zext nneg i8 %switch.tableidx1093 to i64 %switch.gep1094 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1876 %switch.load1095 = load i64, ptr %switch.gep1094, align 8 - %1877 = zext i8 %switch.tableidx1093 to i64 + %1877 = zext nneg i8 %switch.tableidx1093 to i64 %switch.gep1096 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1877 %switch.load1097 = load ptr, ptr %switch.gep1096, align 8 %1878 = getelementptr inbounds nuw i8, ptr %39, i64 32 @@ -26123,10 +26123,10 @@ switch.lookup1098: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %35) #18, !noalias !554 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %36) #18, !noalias !554 %switch.tableidx1099 = add nsw i8 %2, -4 - %1942 = zext i8 %switch.tableidx1099 to i64 + %1942 = zext nneg i8 %switch.tableidx1099 to i64 %switch.gep1100 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %1942 %switch.load1101 = load i64, ptr %switch.gep1100, align 8 - %1943 = zext i8 %switch.tableidx1099 to i64 + %1943 = zext nneg i8 %switch.tableidx1099 to i64 %switch.gep1102 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %1943 %switch.load1103 = load ptr, ptr %switch.gep1102, align 8 %1944 = getelementptr inbounds nuw i8, ptr %36, i64 32 @@ -26314,10 +26314,10 @@ switch.lookup1104: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %32) #18, !noalias !565 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #18, !noalias !565 %switch.tableidx1105 = add nsw i8 %2, -4 - %2008 = zext i8 %switch.tableidx1105 to i64 + %2008 = zext nneg i8 %switch.tableidx1105 to i64 %switch.gep1106 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2008 %switch.load1107 = load i64, ptr %switch.gep1106, align 8 - %2009 = zext i8 %switch.tableidx1105 to i64 + %2009 = zext nneg i8 %switch.tableidx1105 to i64 %switch.gep1108 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2009 %switch.load1109 = load ptr, ptr %switch.gep1108, align 8 %2010 = getelementptr inbounds nuw i8, ptr %33, i64 32 @@ -26505,10 +26505,10 @@ switch.lookup1110: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #18, !noalias !576 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #18, !noalias !576 %switch.tableidx1111 = add nsw i8 %2, -4 - %2074 = zext i8 %switch.tableidx1111 to i64 + %2074 = zext nneg i8 %switch.tableidx1111 to i64 %switch.gep1112 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2074 %switch.load1113 = load i64, ptr %switch.gep1112, align 8 - %2075 = zext i8 %switch.tableidx1111 to i64 + %2075 = zext nneg i8 %switch.tableidx1111 to i64 %switch.gep1114 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2075 %switch.load1115 = load ptr, ptr %switch.gep1114, align 8 %2076 = getelementptr inbounds nuw i8, ptr %30, i64 32 @@ -26696,10 +26696,10 @@ switch.lookup1116: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #18, !noalias !587 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #18, !noalias !587 %switch.tableidx1117 = add nsw i8 %2, -4 - %2140 = zext i8 %switch.tableidx1117 to i64 + %2140 = zext nneg i8 %switch.tableidx1117 to i64 %switch.gep1118 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2140 %switch.load1119 = load i64, ptr %switch.gep1118, align 8 - %2141 = zext i8 %switch.tableidx1117 to i64 + %2141 = zext nneg i8 %switch.tableidx1117 to i64 %switch.gep1120 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2141 %switch.load1121 = load ptr, ptr %switch.gep1120, align 8 %2142 = getelementptr inbounds nuw i8, ptr %27, i64 32 @@ -26887,10 +26887,10 @@ switch.lookup1122: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #18, !noalias !598 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #18, !noalias !598 %switch.tableidx1123 = add nsw i8 %2, -4 - %2206 = zext i8 %switch.tableidx1123 to i64 + %2206 = zext nneg i8 %switch.tableidx1123 to i64 %switch.gep1124 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2206 %switch.load1125 = load i64, ptr %switch.gep1124, align 8 - %2207 = zext i8 %switch.tableidx1123 to i64 + %2207 = zext nneg i8 %switch.tableidx1123 to i64 %switch.gep1126 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2207 %switch.load1127 = load ptr, ptr %switch.gep1126, align 8 %2208 = getelementptr inbounds nuw i8, ptr %24, i64 32 @@ -27078,10 +27078,10 @@ switch.lookup1128: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #18, !noalias !609 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #18, !noalias !609 %switch.tableidx1129 = add nsw i8 %2, -4 - %2272 = zext i8 %switch.tableidx1129 to i64 + %2272 = zext nneg i8 %switch.tableidx1129 to i64 %switch.gep1130 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2272 %switch.load1131 = load i64, ptr %switch.gep1130, align 8 - %2273 = zext i8 %switch.tableidx1129 to i64 + %2273 = zext nneg i8 %switch.tableidx1129 to i64 %switch.gep1132 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2273 %switch.load1133 = load ptr, ptr %switch.gep1132, align 8 %2274 = getelementptr inbounds nuw i8, ptr %21, i64 32 @@ -27269,10 +27269,10 @@ switch.lookup1134: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #18, !noalias !620 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #18, !noalias !620 %switch.tableidx1135 = add nsw i8 %2, -4 - %2338 = zext i8 %switch.tableidx1135 to i64 + %2338 = zext nneg i8 %switch.tableidx1135 to i64 %switch.gep1136 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2338 %switch.load1137 = load i64, ptr %switch.gep1136, align 8 - %2339 = zext i8 %switch.tableidx1135 to i64 + %2339 = zext nneg i8 %switch.tableidx1135 to i64 %switch.gep1138 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2339 %switch.load1139 = load ptr, ptr %switch.gep1138, align 8 %2340 = getelementptr inbounds nuw i8, ptr %18, i64 32 @@ -27460,10 +27460,10 @@ switch.lookup1140: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #18, !noalias !631 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #18, !noalias !631 %switch.tableidx1141 = add nsw i8 %2, -4 - %2404 = zext i8 %switch.tableidx1141 to i64 + %2404 = zext nneg i8 %switch.tableidx1141 to i64 %switch.gep1142 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2404 %switch.load1143 = load i64, ptr %switch.gep1142, align 8 - %2405 = zext i8 %switch.tableidx1141 to i64 + %2405 = zext nneg i8 %switch.tableidx1141 to i64 %switch.gep1144 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2405 %switch.load1145 = load ptr, ptr %switch.gep1144, align 8 %2406 = getelementptr inbounds nuw i8, ptr %15, i64 32 @@ -27651,10 +27651,10 @@ switch.lookup1146: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #18, !noalias !642 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #18, !noalias !642 %switch.tableidx1147 = add nsw i8 %2, -4 - %2470 = zext i8 %switch.tableidx1147 to i64 + %2470 = zext nneg i8 %switch.tableidx1147 to i64 %switch.gep1148 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2470 %switch.load1149 = load i64, ptr %switch.gep1148, align 8 - %2471 = zext i8 %switch.tableidx1147 to i64 + %2471 = zext nneg i8 %switch.tableidx1147 to i64 %switch.gep1150 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2471 %switch.load1151 = load ptr, ptr %switch.gep1150, align 8 %2472 = getelementptr inbounds nuw i8, ptr %12, i64 32 @@ -27842,10 +27842,10 @@ switch.lookup1152: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #18, !noalias !653 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #18, !noalias !653 %switch.tableidx1153 = add nsw i8 %2, -4 - %2536 = zext i8 %switch.tableidx1153 to i64 + %2536 = zext nneg i8 %switch.tableidx1153 to i64 %switch.gep1154 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2536 %switch.load1155 = load i64, ptr %switch.gep1154, align 8 - %2537 = zext i8 %switch.tableidx1153 to i64 + %2537 = zext nneg i8 %switch.tableidx1153 to i64 %switch.gep1156 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2537 %switch.load1157 = load ptr, ptr %switch.gep1156, align 8 %2538 = getelementptr inbounds nuw i8, ptr %9, i64 32 @@ -28033,10 +28033,10 @@ switch.lookup1158: ; preds = %3 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #18, !noalias !664 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #18, !noalias !664 %switch.tableidx1159 = add nsw i8 %2, -4 - %2602 = zext i8 %switch.tableidx1159 to i64 + %2602 = zext nneg i8 %switch.tableidx1159 to i64 %switch.gep1160 = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.101, i64 0, i64 %2602 %switch.load1161 = load i64, ptr %switch.gep1160, align 8 - %2603 = zext i8 %switch.tableidx1159 to i64 + %2603 = zext nneg i8 %switch.tableidx1159 to i64 %switch.gep1162 = getelementptr inbounds nuw [4 x ptr], ptr @switch.table._ZN12_GLOBAL__N_119serializeSymbolKindEN5clang10extractapi9APIRecord10RecordKindENS0_8LanguageE.102, i64 0, i64 %2603 %switch.load1163 = load ptr, ptr %switch.gep1162, align 8 %2604 = getelementptr inbounds nuw i8, ptr %6, i64 32 diff --git a/bench/llvm/optimized/Triple.ll b/bench/llvm/optimized/Triple.ll index 04af634ebda..4fdb52c4a26 100644 --- a/bench/llvm/optimized/Triple.ll +++ b/bench/llvm/optimized/Triple.ll @@ -374,10 +374,10 @@ $_ZN4llvm8DenseMapINS_12VersionTupleENS_6Triple11SubArchTypeENS_12DenseMapInfoIS ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local { ptr, i64 } @_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE(i32 noundef %0) local_unnamed_addr #0 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [60 x i64], ptr @switch.table._ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE, i64 0, i64 %1 %switch.load = load i64, ptr %switch.gep, align 8 - %2 = zext i32 %0 to i64 + %2 = zext nneg i32 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [60 x ptr], ptr @switch.table._ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE.2, i64 0, i64 %2 %switch.load2 = load ptr, ptr %switch.gep1, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load2, 0 @@ -514,10 +514,10 @@ declare void @llvm.memset.p0.i64(ptr writeonly captures(none), i8, i64, i1 immar ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local { ptr, i64 } @_ZN4llvm6Triple17getVendorTypeNameENS0_10VendorTypeE(i32 noundef %0) local_unnamed_addr #0 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [15 x i64], ptr @switch.table._ZN4llvm6Triple9setVendorENS0_10VendorTypeE, i64 0, i64 %1 %switch.load = load i64, ptr %switch.gep, align 8 - %2 = zext i32 %0 to i64 + %2 = zext nneg i32 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [15 x ptr], ptr @switch.table._ZN4llvm6Triple9setVendorENS0_10VendorTypeE.12, i64 0, i64 %2 %switch.load2 = load ptr, ptr %switch.gep1, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load2, 0 @@ -528,10 +528,10 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local { ptr, i64 } @_ZN4llvm6Triple13getOSTypeNameENS0_6OSTypeE(i32 noundef %0) local_unnamed_addr #0 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [41 x i64], ptr @switch.table._ZN4llvm6Triple5setOSENS0_6OSTypeE, i64 0, i64 %1 %switch.load = load i64, ptr %switch.gep, align 8 - %2 = zext i32 %0 to i64 + %2 = zext nneg i32 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [41 x ptr], ptr @switch.table._ZN4llvm6Triple5setOSENS0_6OSTypeE.13, i64 0, i64 %2 %switch.load2 = load ptr, ptr %switch.gep1, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load2, 0 @@ -542,10 +542,10 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local { ptr, i64 } @_ZN4llvm6Triple22getEnvironmentTypeNameENS0_15EnvironmentTypeE(i32 noundef %0) local_unnamed_addr #0 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [51 x i64], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.15, i64 0, i64 %1 %switch.load = load i64, ptr %switch.gep, align 8 - %2 = zext i32 %0 to i64 + %2 = zext nneg i32 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [51 x ptr], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.16, i64 0, i64 %2 %switch.load2 = load ptr, ptr %switch.gep1, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load2, 0 @@ -556,10 +556,10 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local { ptr, i64 } @_ZN4llvm6Triple23getObjectFormatTypeNameENS0_16ObjectFormatTypeE(i32 noundef %0) local_unnamed_addr #0 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.22, i64 0, i64 %1 %switch.load = load i64, ptr %switch.gep, align 8 - %2 = zext i32 %0 to i64 + %2 = zext nneg i32 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.23, i64 0, i64 %2 %switch.load2 = load ptr, ptr %switch.gep1, align 8 %.fca.0.insert = insertvalue { ptr, i64 } poison, ptr %switch.load2, 0 @@ -5681,10 +5681,10 @@ _ZN4llvm15SmallVectorImplINS_9StringRefEE7reserveEm.exit.i.i224: ; preds = %313 _ZN4llvm15SmallVectorImplINS_9StringRefEE6resizeEm.exit231: ; preds = %308, %.sink.split.i.i228 %switch.tableidx = add nsw i32 %.2157, -2 - %320 = zext i32 %switch.tableidx to i64 + %320 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x i64], ptr @switch.table._ZN4llvm6Triple9normalizeB5cxx11ENS_9StringRefENS0_13CanonicalFormE, i64 0, i64 %320 %switch.load = load i64, ptr %switch.gep, align 8 - %321 = zext i32 %switch.tableidx to i64 + %321 = zext nneg i32 %switch.tableidx to i64 %switch.gep560 = getelementptr inbounds nuw [7 x ptr], ptr @switch.table._ZN4llvm6Triple9normalizeB5cxx11ENS_9StringRefENS0_13CanonicalFormE.9, i64 0, i64 %321 %switch.load561 = load ptr, ptr %switch.gep560, align 8 %322 = load ptr, ptr %7, align 8, !tbaa !3 @@ -6241,14 +6241,14 @@ _ZN4llvmeqENS_9StringRefES0_.exit: ; preds = %1 _ZN4llvmeqENS_9StringRefES0_.exit.thread16: ; preds = %1, %_ZN4llvmeqENS_9StringRefES0_.exit %10 = getelementptr inbounds nuw i8, ptr %0, i64 48 %11 = load i32, ptr %10, align 8, !tbaa !33 - %12 = zext i32 %11 to i64 + %12 = zext nneg i32 %11 to i64 %switch.gep = getelementptr inbounds nuw [51 x i64], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.15, i64 0, i64 %12 %switch.load = load i64, ptr %switch.gep, align 8 %.not.i.i = icmp ult i64 %8, %switch.load br i1 %.not.i.i, label %_ZN4llvm9StringRef13consume_frontES0_.exit, label %_ZNK4llvm9StringRef11starts_withES0_.exit.i _ZNK4llvm9StringRef11starts_withES0_.exit.i: ; preds = %_ZN4llvmeqENS_9StringRefES0_.exit.thread16 - %13 = zext i32 %11 to i64 + %13 = zext nneg i32 %11 to i64 %switch.gep19 = getelementptr inbounds nuw [51 x ptr], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.16, i64 0, i64 %13 %switch.load20 = load ptr, ptr %switch.gep19, align 8 %bcmp.i.i = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) %switch.load20, i64 %switch.load) @@ -6391,14 +6391,14 @@ switch.lookup: %4 = extractvalue { ptr, i64 } %2, 1 %5 = getelementptr inbounds nuw i8, ptr %0, i64 44 %6 = load i32, ptr %5, align 4, !tbaa !32 - %7 = zext i32 %6 to i64 + %7 = zext nneg i32 %6 to i64 %switch.gep = getelementptr inbounds nuw [41 x i64], ptr @switch.table._ZN4llvm6Triple5setOSENS0_6OSTypeE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 %.not.i = icmp ult i64 %4, %switch.load br i1 %.not.i, label %_ZNK4llvm9StringRef11starts_withES0_.exit.thread, label %_ZNK4llvm9StringRef11starts_withES0_.exit _ZNK4llvm9StringRef11starts_withES0_.exit: ; preds = %switch.lookup - %8 = zext i32 %6 to i64 + %8 = zext nneg i32 %6 to i64 %switch.gep31 = getelementptr inbounds nuw [41 x ptr], ptr @switch.table._ZN4llvm6Triple5setOSENS0_6OSTypeE.13, i64 0, i64 %8 %switch.load32 = load ptr, ptr %switch.gep31, align 8 %bcmp.i = tail call i32 @bcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %switch.load32, i64 %switch.load) @@ -7382,10 +7382,10 @@ _ZN4llvm11SmallVectorIcLj64EED2Ev.exit: ; preds = %_ZN4llvm11SmallStri ; Function Attrs: mustprogress nounwind uwtable define dso_local void @_ZN4llvm6Triple9setVendorENS0_10VendorTypeE(ptr noundef nonnull align 8 captures(address) dereferenceable(56) %0, i32 noundef %1) local_unnamed_addr #5 align 2 { switch.lookup: - %2 = zext i32 %1 to i64 + %2 = zext nneg i32 %1 to i64 %switch.gep = getelementptr inbounds nuw [15 x i64], ptr @switch.table._ZN4llvm6Triple9setVendorENS0_10VendorTypeE, i64 0, i64 %2 %switch.load = load i64, ptr %switch.gep, align 8 - %3 = zext i32 %1 to i64 + %3 = zext nneg i32 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [15 x ptr], ptr @switch.table._ZN4llvm6Triple9setVendorENS0_10VendorTypeE.12, i64 0, i64 %3 %switch.load2 = load ptr, ptr %switch.gep1, align 8 tail call void @_ZN4llvm6Triple13setVendorNameENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr nonnull %switch.load2, i64 %switch.load) @@ -7521,10 +7521,10 @@ _ZN4llvmplERKNS_5TwineES2_.exit33: ; preds = %_ZNK4llvm9StringRef ; Function Attrs: mustprogress nounwind uwtable define dso_local void @_ZN4llvm6Triple5setOSENS0_6OSTypeE(ptr noundef nonnull align 8 captures(address) dereferenceable(56) %0, i32 noundef %1) local_unnamed_addr #5 align 2 { switch.lookup: - %2 = zext i32 %1 to i64 + %2 = zext nneg i32 %1 to i64 %switch.gep = getelementptr inbounds nuw [41 x i64], ptr @switch.table._ZN4llvm6Triple5setOSENS0_6OSTypeE, i64 0, i64 %2 %switch.load = load i64, ptr %switch.gep, align 8 - %3 = zext i32 %1 to i64 + %3 = zext nneg i32 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [41 x ptr], ptr @switch.table._ZN4llvm6Triple5setOSENS0_6OSTypeE.13, i64 0, i64 %3 %switch.load2 = load ptr, ptr %switch.gep1, align 8 tail call void @_ZN4llvm6Triple9setOSNameENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr nonnull %switch.load2, i64 %switch.load) @@ -7806,11 +7806,11 @@ define dso_local void @_ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE(pt %.val2 = load i32, ptr %9, align 4 %10 = tail call fastcc noundef i32 @_ZL16getDefaultFormatRKN4llvm6TripleE(i32 %.val, i32 %.val2) %11 = icmp eq i32 %7, %10 - %12 = zext i32 %1 to i64 + %12 = zext nneg i32 %1 to i64 br i1 %11, label %switch.lookup, label %switch.lookup37 switch.lookup: ; preds = %2 - %13 = zext i32 %1 to i64 + %13 = zext nneg i32 %1 to i64 %switch.gep = getelementptr inbounds nuw [51 x i64], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.15, i64 0, i64 %13 %switch.load = load i64, ptr %switch.gep, align 8 %switch.gep35 = getelementptr inbounds nuw [51 x ptr], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.16, i64 0, i64 %12 @@ -7824,7 +7824,7 @@ switch.lookup37: ; preds = %2 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #16 %switch.gep38 = getelementptr inbounds nuw [51 x i64], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.15, i64 0, i64 %12 %switch.load39 = load i64, ptr %switch.gep38, align 8 - %14 = zext i32 %1 to i64 + %14 = zext nneg i32 %1 to i64 %switch.gep40 = getelementptr inbounds nuw [51 x ptr], ptr @switch.table._ZN4llvm6Triple14setEnvironmentENS0_15EnvironmentTypeE.16, i64 0, i64 %14 %switch.load41 = load ptr, ptr %switch.gep40, align 8 store ptr %switch.load41, ptr %5, align 8, !alias.scope !375 @@ -7836,10 +7836,10 @@ switch.lookup37: ; preds = %2 store i8 5, ptr %16, align 8, !tbaa !47, !alias.scope !375 %17 = getelementptr inbounds nuw i8, ptr %5, i64 33 store i8 3, ptr %17, align 1, !tbaa !51, !alias.scope !375 - %18 = zext i32 %7 to i64 + %18 = zext nneg i32 %7 to i64 %switch.gep43 = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.22, i64 0, i64 %18 %switch.load44 = load i64, ptr %switch.gep43, align 8 - %19 = zext i32 %7 to i64 + %19 = zext nneg i32 %7 to i64 %switch.gep45 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.23, i64 0, i64 %19 %switch.load46 = load ptr, ptr %switch.gep45, align 8 store ptr %5, ptr %4, align 8, !alias.scope !380 @@ -8034,10 +8034,10 @@ define dso_local void @_ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE( br i1 %8, label %switch.lookup, label %switch.lookup36 switch.lookup: ; preds = %2 - %9 = zext i32 %1 to i64 + %9 = zext nneg i32 %1 to i64 %switch.gep = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.22, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 - %10 = zext i32 %1 to i64 + %10 = zext nneg i32 %1 to i64 %switch.gep34 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.23, i64 0, i64 %10 %switch.load35 = load ptr, ptr %switch.gep34, align 8 tail call void @_ZN4llvm6Triple18setEnvironmentNameENS_9StringRefE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr nonnull %switch.load35, i64 %switch.load) @@ -8048,10 +8048,10 @@ switch.lookup36: ; preds = %2 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #16 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #16 %switch.tableidx = add nsw i32 %7, -1 - %11 = zext i32 %switch.tableidx to i64 + %11 = zext nneg i32 %switch.tableidx to i64 %switch.gep37 = getelementptr inbounds nuw [50 x i64], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.20, i64 0, i64 %11 %switch.load38 = load i64, ptr %switch.gep37, align 8 - %12 = zext i32 %switch.tableidx to i64 + %12 = zext nneg i32 %switch.tableidx to i64 %switch.gep39 = getelementptr inbounds nuw [50 x ptr], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.21, i64 0, i64 %12 %switch.load40 = load ptr, ptr %switch.gep39, align 8 store ptr %switch.load40, ptr %5, align 8, !alias.scope !431 @@ -8063,10 +8063,10 @@ switch.lookup36: ; preds = %2 store i8 5, ptr %14, align 8, !tbaa !47, !alias.scope !431 %15 = getelementptr inbounds nuw i8, ptr %5, i64 33 store i8 3, ptr %15, align 1, !tbaa !51, !alias.scope !431 - %16 = zext i32 %1 to i64 + %16 = zext nneg i32 %1 to i64 %switch.gep42 = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.22, i64 0, i64 %16 %switch.load43 = load i64, ptr %switch.gep42, align 8 - %17 = zext i32 %1 to i64 + %17 = zext nneg i32 %1 to i64 %switch.gep44 = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN4llvm6Triple15setObjectFormatENS0_16ObjectFormatTypeE.23, i64 0, i64 %17 %switch.load45 = load ptr, ptr %switch.gep44, align 8 store ptr %5, ptr %4, align 8, !alias.scope !436 @@ -8228,7 +8228,7 @@ _ZN4llvmplERKNS_5TwineES2_.exit35: ; preds = %3, %29 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef range(i32 0, 65) i32 @_ZN4llvm6Triple22getArchPointerBitWidthENS0_8ArchTypeE(i32 noundef %0) local_unnamed_addr #0 align 2 { switch.lookup: - %1 = zext i32 %0 to i64 + %1 = zext nneg i32 %0 to i64 %switch.gep = getelementptr inbounds nuw [60 x i32], ptr @switch.table._ZN4llvm6Triple22getArchPointerBitWidthENS0_8ArchTypeE, i64 0, i64 %1 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load diff --git a/bench/llvm/optimized/TypeLoc.ll b/bench/llvm/optimized/TypeLoc.ll index eebabbbffc5..c1d1d65b3e6 100644 --- a/bench/llvm/optimized/TypeLoc.ll +++ b/bench/llvm/optimized/TypeLoc.ll @@ -625,7 +625,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i32], ptr @switch.table._ZN5clang7TypeLoc22getFullDataSizeForTypeENS_8QualTypeE, i64 0, i64 %7 %switch.load = load i32, ptr %switch.gep, align 4 br label %_ZN5clang14TypeLocVisitorIN12_GLOBAL__N_111TypeAlignerEjE5VisitENS_7TypeLocE.exit @@ -660,7 +660,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i: ; preds = %.lr.ph %5 = load ptr, ptr %.sroa.015.024, align 8, !tbaa !3 %6 = getelementptr inbounds nuw i8, ptr %5, i64 16 %7 = load i8, ptr %6, align 16 - %8 = zext i8 %7 to i64 + %8 = zext nneg i8 %7 to i64 %switch.gep = getelementptr inbounds nuw [59 x i32], ptr @switch.table._ZN5clang7TypeLoc22getFullDataSizeForTypeENS_8QualTypeE, i64 0, i64 %8 %switch.load = load i32, ptr %switch.gep, align 4 br label %_ZN5clang7TypeLoc24getLocalAlignmentForTypeENS_8QualTypeE.exit @@ -1023,7 +1023,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i: ; preds = %_ZNK5clang7Type %14 = load ptr, ptr %13, align 16, !tbaa !3 %15 = getelementptr inbounds nuw i8, ptr %14, i64 16 %16 = load i8, ptr %15, align 16 - %17 = zext i8 %16 to i64 + %17 = zext nneg i8 %16 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %17 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZN12_GLOBAL__N_17NextLoc21VisitQualifiedTypeLocEN5clang16QualifiedTypeLocE.exit @@ -1284,7 +1284,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i: ; preds = %_ZNK5clang7TypeLo %22 = load ptr, ptr %21, align 16, !tbaa !3 %23 = getelementptr inbounds nuw i8, ptr %22, i64 16 %24 = load i8, ptr %23, align 16 - %25 = zext i8 %24 to i64 + %25 = zext nneg i8 %24 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %25 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang16QualifiedTypeLoc14getNextTypeLocEv.exit @@ -1317,7 +1317,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %35 %39 = load ptr, ptr %38, align 8, !tbaa !3 %40 = getelementptr inbounds nuw i8, ptr %39, i64 16 %41 = load i8, ptr %40, align 16 - %42 = zext i8 %41 to i64 + %42 = zext nneg i8 %41 to i64 %switch.gep1750 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %42 %switch.load1751 = load i64, ptr %switch.gep1750, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15AdjustedTypeLocENS_12AdjustedTypeENS_15AdjustedLocInfoEE14getNextTypeLocEv.exit @@ -1350,7 +1350,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i428: ; preds = %52 %56 = load ptr, ptr %55, align 8, !tbaa !3 %57 = getelementptr inbounds nuw i8, ptr %56, i64 16 %58 = load i8, ptr %57, align 16 - %59 = zext i8 %58 to i64 + %59 = zext nneg i8 %58 to i64 %switch.gep1752 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %59 %switch.load1753 = load i64, ptr %switch.gep1752, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15AdjustedTypeLocENS_12AdjustedTypeENS_15AdjustedLocInfoEE14getNextTypeLocEv.exit429 @@ -1388,7 +1388,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i442: ; preds = %69 %75 = load ptr, ptr %74, align 8, !tbaa !3 %76 = getelementptr inbounds nuw i8, ptr %75, i64 16 %77 = load i8, ptr %76, align 16 - %78 = zext i8 %77 to i64 + %78 = zext nneg i8 %77 to i64 %switch.gep1754 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %78 %switch.load1755 = load i64, ptr %switch.gep1754, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit @@ -1427,7 +1427,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i455: ; preds = %89 %95 = load ptr, ptr %94, align 8, !tbaa !3 %96 = getelementptr inbounds nuw i8, ptr %95, i64 16 %97 = load i8, ptr %96, align 16 - %98 = zext i8 %97 to i64 + %98 = zext nneg i8 %97 to i64 %switch.gep1756 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %98 %switch.load1757 = load i64, ptr %switch.gep1756, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit456 @@ -1468,7 +1468,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i469: ; preds = %109 %117 = load ptr, ptr %116, align 8, !tbaa !3 %118 = getelementptr inbounds nuw i8, ptr %117, i64 16 %119 = load i8, ptr %118, align 16 - %120 = zext i8 %119 to i64 + %120 = zext nneg i8 %119 to i64 %switch.gep1758 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %120 %switch.load1759 = load i64, ptr %switch.gep1758, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit470 @@ -1507,7 +1507,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i483: ; preds = %131 %137 = load ptr, ptr %136, align 8, !tbaa !3 %138 = getelementptr inbounds nuw i8, ptr %137, i64 16 %139 = load i8, ptr %138, align 16 - %140 = zext i8 %139 to i64 + %140 = zext nneg i8 %139 to i64 %switch.gep1760 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %140 %switch.load1761 = load i64, ptr %switch.gep1760, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit484 @@ -1546,7 +1546,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i497: ; preds = %151 %157 = load ptr, ptr %156, align 8, !tbaa !3 %158 = getelementptr inbounds nuw i8, ptr %157, i64 16 %159 = load i8, ptr %158, align 16 - %160 = zext i8 %159 to i64 + %160 = zext nneg i8 %159 to i64 %switch.gep1762 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %160 %switch.load1763 = load i64, ptr %switch.gep1762, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit498 @@ -1585,7 +1585,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i511: ; preds = %171 %177 = load ptr, ptr %176, align 8, !tbaa !3 %178 = getelementptr inbounds nuw i8, ptr %177, i64 16 %179 = load i8, ptr %178, align 16 - %180 = zext i8 %179 to i64 + %180 = zext nneg i8 %179 to i64 %switch.gep1764 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %180 %switch.load1765 = load i64, ptr %switch.gep1764, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_13AtomicTypeLocENS_10AtomicTypeENS_17AtomicTypeLocInfoEE14getNextTypeLocEv.exit @@ -1620,7 +1620,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i524: ; preds = %191 %195 = load ptr, ptr %194, align 8, !tbaa !3 %196 = getelementptr inbounds nuw i8, ptr %195, i64 16 %197 = load i8, ptr %196, align 16 - %198 = zext i8 %197 to i64 + %198 = zext nneg i8 %197 to i64 %switch.gep1766 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %198 %switch.load1767 = load i64, ptr %switch.gep1766, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_17AttributedTypeLocENS_14AttributedTypeENS_17AttributedLocInfoEE14getNextTypeLocEv.exit @@ -1654,7 +1654,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i537: ; preds = %209 %213 = load ptr, ptr %212, align 8, !tbaa !3 %214 = getelementptr inbounds nuw i8, ptr %213, i64 16 %215 = load i8, ptr %214, align 16 - %216 = zext i8 %215 to i64 + %216 = zext nneg i8 %215 to i64 %switch.gep1768 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %216 %switch.load1769 = load i64, ptr %switch.gep1768, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_23BTFTagAttributedTypeLocENS_20BTFTagAttributedTypeENS_23BTFTagAttributedLocInfoEE14getNextTypeLocEv.exit @@ -1693,7 +1693,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i555: ; preds = %228 %232 = load ptr, ptr %231, align 8, !tbaa !3 %233 = getelementptr inbounds nuw i8, ptr %232, i64 16 %234 = load i8, ptr %233, align 16 - %235 = zext i8 %234 to i64 + %235 = zext nneg i8 %234 to i64 %switch.gep1770 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %235 %switch.load1771 = load i64, ptr %switch.gep1770, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_19BlockPointerTypeLocENS_16BlockPointerTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -1727,7 +1727,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i568: ; preds = %246 %250 = load ptr, ptr %249, align 8, !tbaa !3 %251 = getelementptr inbounds nuw i8, ptr %250, i64 16 %252 = load i8, ptr %251, align 16 - %253 = zext i8 %252 to i64 + %253 = zext nneg i8 %252 to i64 %switch.gep1772 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %253 %switch.load1773 = load i64, ptr %switch.gep1772, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_23BoundsAttributedTypeLocENS_20BoundsAttributedTypeENS_23BoundsAttributedLocInfoEE14getNextTypeLocEv.exit @@ -1832,7 +1832,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i606: ; preds = %286 %294 = load ptr, ptr %293, align 8, !tbaa !3 %295 = getelementptr inbounds nuw i8, ptr %294, i64 16 %296 = load i8, ptr %295, align 16 - %297 = zext i8 %296 to i64 + %297 = zext nneg i8 %296 to i64 %switch.gep1774 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %297 %switch.load1775 = load i64, ptr %switch.gep1774, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_28DependentAddressSpaceTypeLocENS_25DependentAddressSpaceTypeENS_28DependentAddressSpaceLocInfoEE14getNextTypeLocEv.exit @@ -1899,7 +1899,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i629: ; preds = %321 %325 = load ptr, ptr %324, align 8, !tbaa !3 %326 = getelementptr inbounds nuw i8, ptr %325, i64 16 %327 = load i8, ptr %326, align 16 - %328 = zext i8 %327 to i64 + %328 = zext nneg i8 %327 to i64 %switch.gep1776 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %328 %switch.load1777 = load i64, ptr %switch.gep1776, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_30DependentSizedExtVectorTypeLocENS_27DependentSizedExtVectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit @@ -1989,7 +1989,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i650: ; preds = %363 %367 = load ptr, ptr %366, align 8, !tbaa !3 %368 = getelementptr inbounds nuw i8, ptr %367, i64 16 %369 = load i8, ptr %368, align 16 - %370 = zext i8 %369 to i64 + %370 = zext nneg i8 %369 to i64 %switch.gep1778 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %370 %switch.load1779 = load i64, ptr %switch.gep1778, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_22DependentVectorTypeLocENS_19DependentVectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit @@ -2086,7 +2086,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i668: ; preds = %_ZNK5cla %406 = load ptr, ptr %405, align 8, !tbaa !3 %407 = getelementptr inbounds nuw i8, ptr %406, i64 16 %408 = load i8, ptr %407, align 16 - %409 = zext i8 %408 to i64 + %409 = zext nneg i8 %408 to i64 %switch.gep1780 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %409 %switch.load1781 = load i64, ptr %switch.gep1780, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_17ElaboratedTypeLocENS_14ElaboratedTypeENS_17ElaboratedLocInfoEE14getNextTypeLocEv.exit @@ -2206,7 +2206,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i685: ; preds = %_ZNK5cla %457 = load ptr, ptr %456, align 8, !tbaa !3 %458 = getelementptr inbounds nuw i8, ptr %457, i64 16 %459 = load i8, ptr %458, align 16 - %460 = zext i8 %459 to i64 + %460 = zext nneg i8 %459 to i64 %switch.gep1782 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %460 %switch.load1783 = load i64, ptr %switch.gep1782, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15FunctionTypeLocENS_12FunctionTypeENS_15FunctionLocInfoEE14getNextTypeLocEv.exit @@ -2326,7 +2326,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i718: ; preds = %_ZNK5cla %508 = load ptr, ptr %507, align 8, !tbaa !3 %509 = getelementptr inbounds nuw i8, ptr %508, i64 16 %510 = load i8, ptr %509, align 16 - %511 = zext i8 %510 to i64 + %511 = zext nneg i8 %510 to i64 %switch.gep1784 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %511 %switch.load1785 = load i64, ptr %switch.gep1784, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15FunctionTypeLocENS_12FunctionTypeENS_15FunctionLocInfoEE14getNextTypeLocEv.exit721 @@ -2361,7 +2361,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i734: ; preds = %522 %526 = load ptr, ptr %525, align 8, !tbaa !3 %527 = getelementptr inbounds nuw i8, ptr %526, i64 16 %528 = load i8, ptr %527, align 16 - %529 = zext i8 %528 to i64 + %529 = zext nneg i8 %528 to i64 %switch.gep1786 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %529 %switch.load1787 = load i64, ptr %switch.gep1786, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_29HLSLAttributedResourceTypeLocENS_26HLSLAttributedResourceTypeENS_29HLSLAttributedResourceLocInfoEE14getNextTypeLocEv.exit @@ -2400,7 +2400,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i752: ; preds = %541 %545 = load ptr, ptr %544, align 8, !tbaa !3 %546 = getelementptr inbounds nuw i8, ptr %545, i64 16 %547 = load i8, ptr %546, align 16 - %548 = zext i8 %547 to i64 + %548 = zext nneg i8 %547 to i64 %switch.gep1788 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %548 %switch.load1789 = load i64, ptr %switch.gep1788, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_21MacroQualifiedTypeLocENS_18MacroQualifiedTypeENS_21MacroQualifiedLocInfoEE14getNextTypeLocEv.exit @@ -2453,7 +2453,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i779: ; preds = %565 %570 = load ptr, ptr %569, align 8, !tbaa !3 %571 = getelementptr inbounds nuw i8, ptr %570, i64 16 %572 = load i8, ptr %571, align 16 - %573 = zext i8 %572 to i64 + %573 = zext nneg i8 %572 to i64 %switch.gep1790 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %573 %switch.load1791 = load i64, ptr %switch.gep1790, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_20MemberPointerTypeLocENS_17MemberPointerTypeENS_20MemberPointerLocInfoEE14getNextTypeLocEv.exit @@ -2488,7 +2488,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i792: ; preds = %584 %588 = load ptr, ptr %587, align 8, !tbaa !3 %589 = getelementptr inbounds nuw i8, ptr %588, i64 16 %590 = load i8, ptr %589, align 16 - %591 = zext i8 %590 to i64 + %591 = zext nneg i8 %590 to i64 %switch.gep1792 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %591 %switch.load1793 = load i64, ptr %switch.gep1792, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_24ObjCObjectPointerTypeLocENS_21ObjCObjectPointerTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -2585,7 +2585,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i809: ; preds = %_ZN5clan %632 = load ptr, ptr %631, align 8, !tbaa !3 %633 = getelementptr inbounds nuw i8, ptr %632, i64 16 %634 = load i8, ptr %633, align 16 - %635 = zext i8 %634 to i64 + %635 = zext nneg i8 %634 to i64 %switch.gep1794 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %635 %switch.load1795 = load i64, ptr %switch.gep1794, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_17ObjCObjectTypeLocENS_14ObjCObjectTypeENS_21ObjCObjectTypeLocInfoEE14getNextTypeLocEv.exit @@ -2666,7 +2666,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i836: ; preds = %668 %672 = load ptr, ptr %671, align 8, !tbaa !3 %673 = getelementptr inbounds nuw i8, ptr %672, i64 16 %674 = load i8, ptr %673, align 16 - %675 = zext i8 %674 to i64 + %675 = zext nneg i8 %674 to i64 %switch.gep1796 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %675 %switch.load1797 = load i64, ptr %switch.gep1796, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_20PackExpansionTypeLocENS_17PackExpansionTypeENS_24PackExpansionTypeLocInfoEE14getNextTypeLocEv.exit @@ -2701,7 +2701,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i849: ; preds = %686 %690 = load ptr, ptr %689, align 8, !tbaa !3 %691 = getelementptr inbounds nuw i8, ptr %690, i64 16 %692 = load i8, ptr %691, align 16 - %693 = zext i8 %692 to i64 + %693 = zext nneg i8 %692 to i64 %switch.gep1798 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %693 %switch.load1799 = load i64, ptr %switch.gep1798, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_19PackIndexingTypeLocENS_16PackIndexingTypeENS_23PackIndexingTypeLocInfoEE14getNextTypeLocEv.exit @@ -2738,7 +2738,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i862: ; preds = %704 %709 = load ptr, ptr %708, align 8, !tbaa !3 %710 = getelementptr inbounds nuw i8, ptr %709, i64 16 %711 = load i8, ptr %710, align 16 - %712 = zext i8 %711 to i64 + %712 = zext nneg i8 %711 to i64 %switch.gep1800 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %712 %switch.load1801 = load i64, ptr %switch.gep1800, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ParenTypeLocENS_9ParenTypeENS_12ParenLocInfoEE14getNextTypeLocEv.exit @@ -2773,7 +2773,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i875: ; preds = %723 %727 = load ptr, ptr %726, align 8, !tbaa !3 %728 = getelementptr inbounds nuw i8, ptr %727, i64 16 %729 = load i8, ptr %728, align 16 - %730 = zext i8 %729 to i64 + %730 = zext nneg i8 %729 to i64 %switch.gep1802 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %730 %switch.load1803 = load i64, ptr %switch.gep1802, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_11PipeTypeLocENS_8PipeTypeENS_15PipeTypeLocInfoEE14getNextTypeLocEv.exit @@ -2808,7 +2808,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i888: ; preds = %741 %745 = load ptr, ptr %744, align 8, !tbaa !3 %746 = getelementptr inbounds nuw i8, ptr %745, i64 16 %747 = load i8, ptr %746, align 16 - %748 = zext i8 %747 to i64 + %748 = zext nneg i8 %747 to i64 %switch.gep1804 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %748 %switch.load1805 = load i64, ptr %switch.gep1804, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_14PointerTypeLocENS_11PointerTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -2843,7 +2843,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i901: ; preds = %759 %763 = load ptr, ptr %762, align 8, !tbaa !3 %764 = getelementptr inbounds nuw i8, ptr %763, i64 16 %765 = load i8, ptr %764, align 16 - %766 = zext i8 %765 to i64 + %766 = zext nneg i8 %765 to i64 %switch.gep1806 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %766 %switch.load1807 = load i64, ptr %switch.gep1806, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_16ReferenceTypeLocENS_13ReferenceTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -2878,7 +2878,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i914: ; preds = %777 %781 = load ptr, ptr %780, align 8, !tbaa !3 %782 = getelementptr inbounds nuw i8, ptr %781, i64 16 %783 = load i8, ptr %782, align 16 - %784 = zext i8 %783 to i64 + %784 = zext nneg i8 %783 to i64 %switch.gep1808 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %784 %switch.load1809 = load i64, ptr %switch.gep1808, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_16ReferenceTypeLocENS_13ReferenceTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit915 @@ -2995,7 +2995,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i989: ; preds = %827 %831 = load ptr, ptr %830, align 8, !tbaa !3 %832 = getelementptr inbounds nuw i8, ptr %831, i64 16 %833 = load i8, ptr %832, align 16 - %834 = zext i8 %833 to i64 + %834 = zext nneg i8 %833 to i64 %switch.gep1810 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %834 %switch.load1811 = load i64, ptr %switch.gep1810, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_13VectorTypeLocENS_10VectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit @@ -3030,7 +3030,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i1002: ; preds = %845 %849 = load ptr, ptr %848, align 8, !tbaa !3 %850 = getelementptr inbounds nuw i8, ptr %849, i64 16 %851 = load i8, ptr %850, align 16 - %852 = zext i8 %851 to i64 + %852 = zext nneg i8 %851 to i64 %switch.gep1812 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %852 %switch.load1813 = load i64, ptr %switch.gep1812, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_13VectorTypeLocENS_10VectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit1003 @@ -4459,7 +4459,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %9 %13 = load ptr, ptr %12, align 8, !tbaa !3 %14 = getelementptr inbounds nuw i8, ptr %13, i64 16 %15 = load i8, ptr %14, align 16 - %16 = zext i8 %15 to i64 + %16 = zext nneg i8 %15 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %16 %switch.load = load i64, ptr %switch.gep, align 8 br label %17 @@ -4570,7 +4570,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i.i.i: ; preds = %14 %18 = load ptr, ptr %17, align 8, !tbaa !3 %19 = getelementptr inbounds nuw i8, ptr %18, i64 16 %20 = load i8, ptr %19, align 16 - %21 = zext i8 %20 to i64 + %21 = zext nneg i8 %20 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %21 %switch.load = load i64, ptr %switch.gep, align 8 br label %22 @@ -4629,7 +4629,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %40 %44 = load ptr, ptr %43, align 8, !tbaa !3 %45 = getelementptr inbounds nuw i8, ptr %44, i64 16 %46 = load i8, ptr %45, align 16 - %47 = zext i8 %46 to i64 + %47 = zext nneg i8 %46 to i64 %switch.gep40 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %47 %switch.load41 = load i64, ptr %switch.gep40, align 8 br label %_ZNK5clang17AttributedTypeLoc14getModifiedLocEv.exit @@ -4990,7 +4990,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i: ; preds = %tailrecurse.i %15 = load ptr, ptr %14, align 16, !tbaa !3 %16 = getelementptr inbounds nuw i8, ptr %15, i64 16 %17 = load i8, ptr %16, align 16 - %18 = zext i8 %17 to i64 + %18 = zext nneg i8 %17 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %18 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang16QualifiedTypeLoc17getUnqualifiedLocEv.exit.i @@ -5396,7 +5396,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %7 %11 = load ptr, ptr %10, align 8, !tbaa !3 %12 = getelementptr inbounds nuw i8, ptr %11, i64 16 %13 = load i8, ptr %12, align 16 - %14 = zext i8 %13 to i64 + %14 = zext nneg i8 %13 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %14 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ParenTypeLoc11getInnerLocEv.exit @@ -5422,7 +5422,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i39: ; preds = %18 %22 = load ptr, ptr %21, align 8, !tbaa !3 %23 = getelementptr inbounds nuw i8, ptr %22, i64 16 %24 = load i8, ptr %23, align 16 - %25 = zext i8 %24 to i64 + %25 = zext nneg i8 %24 to i64 %switch.gep252 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %25 %switch.load253 = load i64, ptr %switch.gep252, align 8 br label %_ZNK5clang17AttributedTypeLoc14getModifiedLocEv.exit @@ -5448,7 +5448,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i54: ; preds = %29 %33 = load ptr, ptr %32, align 8, !tbaa !3 %34 = getelementptr inbounds nuw i8, ptr %33, i64 16 %35 = load i8, ptr %34, align 16 - %36 = zext i8 %35 to i64 + %36 = zext nneg i8 %35 to i64 %switch.gep254 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %36 %switch.load255 = load i64, ptr %switch.gep254, align 8 br label %_ZNK5clang23BTFTagAttributedTypeLoc13getWrappedLocEv.exit @@ -5474,7 +5474,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i69: ; preds = %40 %44 = load ptr, ptr %43, align 8, !tbaa !3 %45 = getelementptr inbounds nuw i8, ptr %44, i64 16 %46 = load i8, ptr %45, align 16 - %47 = zext i8 %46 to i64 + %47 = zext nneg i8 %46 to i64 %switch.gep256 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %47 %switch.load257 = load i64, ptr %switch.gep256, align 8 br label %_ZNK5clang29HLSLAttributedResourceTypeLoc13getWrappedLocEv.exit @@ -5517,7 +5517,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i84: ; preds = %_ZNK5clan %62 = load ptr, ptr %61, align 8, !tbaa !3 %63 = getelementptr inbounds nuw i8, ptr %62, i64 16 %64 = load i8, ptr %63, align 16 - %65 = zext i8 %64 to i64 + %65 = zext nneg i8 %64 to i64 %switch.gep258 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %65 %switch.load259 = load i64, ptr %switch.gep258, align 8 br label %_ZNK5clang17ElaboratedTypeLoc15getNamedTypeLocEv.exit @@ -5547,7 +5547,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i99: ; preds = %69 %73 = load ptr, ptr %72, align 8, !tbaa !3 %74 = getelementptr inbounds nuw i8, ptr %73, i64 16 %75 = load i8, ptr %74, align 16 - %76 = zext i8 %75 to i64 + %76 = zext nneg i8 %75 to i64 %switch.gep260 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %76 %switch.load261 = load i64, ptr %switch.gep260, align 8 br label %_ZNK5clang15AdjustedTypeLoc14getOriginalLocEv.exit @@ -5576,7 +5576,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i114: ; preds = %80 %84 = load ptr, ptr %83, align 8, !tbaa !3 %85 = getelementptr inbounds nuw i8, ptr %84, i64 16 %86 = load i8, ptr %85, align 16 - %87 = zext i8 %86 to i64 + %87 = zext nneg i8 %86 to i64 %switch.gep262 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %87 %switch.load263 = load i64, ptr %switch.gep262, align 8 br label %.thread184 @@ -5675,7 +5675,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %7 %11 = load ptr, ptr %10, align 8, !tbaa !3 %12 = getelementptr inbounds nuw i8, ptr %11, i64 16 %13 = load i8, ptr %12, align 16 - %14 = zext i8 %13 to i64 + %14 = zext nneg i8 %13 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %14 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ParenTypeLoc11getInnerLocEv.exit @@ -5701,7 +5701,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i39: ; preds = %18 %22 = load ptr, ptr %21, align 8, !tbaa !3 %23 = getelementptr inbounds nuw i8, ptr %22, i64 16 %24 = load i8, ptr %23, align 16 - %25 = zext i8 %24 to i64 + %25 = zext nneg i8 %24 to i64 %switch.gep252 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %25 %switch.load253 = load i64, ptr %switch.gep252, align 8 br label %_ZNK5clang17AttributedTypeLoc14getModifiedLocEv.exit @@ -5727,7 +5727,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i54: ; preds = %29 %33 = load ptr, ptr %32, align 8, !tbaa !3 %34 = getelementptr inbounds nuw i8, ptr %33, i64 16 %35 = load i8, ptr %34, align 16 - %36 = zext i8 %35 to i64 + %36 = zext nneg i8 %35 to i64 %switch.gep254 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %36 %switch.load255 = load i64, ptr %switch.gep254, align 8 br label %_ZNK5clang23BTFTagAttributedTypeLoc13getWrappedLocEv.exit @@ -5753,7 +5753,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i69: ; preds = %40 %44 = load ptr, ptr %43, align 8, !tbaa !3 %45 = getelementptr inbounds nuw i8, ptr %44, i64 16 %46 = load i8, ptr %45, align 16 - %47 = zext i8 %46 to i64 + %47 = zext nneg i8 %46 to i64 %switch.gep256 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %47 %switch.load257 = load i64, ptr %switch.gep256, align 8 br label %_ZNK5clang29HLSLAttributedResourceTypeLoc13getWrappedLocEv.exit @@ -5796,7 +5796,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i84: ; preds = %_ZNK5clan %62 = load ptr, ptr %61, align 8, !tbaa !3 %63 = getelementptr inbounds nuw i8, ptr %62, i64 16 %64 = load i8, ptr %63, align 16 - %65 = zext i8 %64 to i64 + %65 = zext nneg i8 %64 to i64 %switch.gep258 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %65 %switch.load259 = load i64, ptr %switch.gep258, align 8 br label %_ZNK5clang17ElaboratedTypeLoc15getNamedTypeLocEv.exit @@ -5826,7 +5826,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i99: ; preds = %69 %73 = load ptr, ptr %72, align 8, !tbaa !3 %74 = getelementptr inbounds nuw i8, ptr %73, i64 16 %75 = load i8, ptr %74, align 16 - %76 = zext i8 %75 to i64 + %76 = zext nneg i8 %75 to i64 %switch.gep260 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %76 %switch.load261 = load i64, ptr %switch.gep260, align 8 br label %_ZNK5clang15AdjustedTypeLoc14getOriginalLocEv.exit @@ -5855,7 +5855,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i114: ; preds = %80 %84 = load ptr, ptr %83, align 8, !tbaa !3 %85 = getelementptr inbounds nuw i8, ptr %84, i64 16 %86 = load i8, ptr %85, align 16 - %87 = zext i8 %86 to i64 + %87 = zext nneg i8 %86 to i64 %switch.gep262 = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %87 %switch.load263 = load i64, ptr %switch.gep262, align 8 br label %.thread184 @@ -6194,7 +6194,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang21MacroQualifiedTypeLoc11getInnerLocEv.exit @@ -6271,7 +6271,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15AdjustedTypeLocENS_12AdjustedTypeENS_15AdjustedLocInfoEE14getNextTypeLocEv.exit @@ -6307,7 +6307,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15AdjustedTypeLocENS_12AdjustedTypeENS_15AdjustedLocInfoEE14getNextTypeLocEv.exit @@ -6343,7 +6343,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit @@ -6380,7 +6380,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit @@ -6417,7 +6417,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit @@ -6454,7 +6454,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit @@ -6491,7 +6491,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ArrayTypeLocENS_9ArrayTypeENS_12ArrayLocInfoEE14getNextTypeLocEv.exit @@ -6528,7 +6528,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_13AtomicTypeLocENS_10AtomicTypeENS_17AtomicTypeLocInfoEE14getNextTypeLocEv.exit @@ -6565,7 +6565,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_17AttributedTypeLocENS_14AttributedTypeENS_17AttributedLocInfoEE14getNextTypeLocEv.exit @@ -6602,7 +6602,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_23BTFTagAttributedTypeLocENS_20BTFTagAttributedTypeENS_23BTFTagAttributedLocInfoEE14getNextTypeLocEv.exit @@ -6639,7 +6639,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_19BlockPointerTypeLocENS_16BlockPointerTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -6676,7 +6676,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_23BoundsAttributedTypeLocENS_20BoundsAttributedTypeENS_23BoundsAttributedLocInfoEE14getNextTypeLocEv.exit @@ -6712,7 +6712,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_28DependentAddressSpaceTypeLocENS_25DependentAddressSpaceTypeENS_28DependentAddressSpaceLocInfoEE14getNextTypeLocEv.exit @@ -6749,7 +6749,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_30DependentSizedExtVectorTypeLocENS_27DependentSizedExtVectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit @@ -6786,7 +6786,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_22DependentVectorTypeLocENS_19DependentVectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit @@ -6840,7 +6840,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %_ZNK5clang1 %13 = load ptr, ptr %12, align 8, !tbaa !3 %14 = getelementptr inbounds nuw i8, ptr %13, i64 16 %15 = load i8, ptr %14, align 16 - %16 = zext i8 %15 to i64 + %16 = zext nneg i8 %15 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %16 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_17ElaboratedTypeLocENS_14ElaboratedTypeENS_17ElaboratedLocInfoEE14getNextTypeLocEv.exit @@ -6911,7 +6911,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %_ZNK5clang1 %20 = load ptr, ptr %19, align 8, !tbaa !3 %21 = getelementptr inbounds nuw i8, ptr %20, i64 16 %22 = load i8, ptr %21, align 16 - %23 = zext i8 %22 to i64 + %23 = zext nneg i8 %22 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %23 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15FunctionTypeLocENS_12FunctionTypeENS_15FunctionLocInfoEE14getNextTypeLocEv.exit @@ -6982,7 +6982,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %_ZNK5clang1 %20 = load ptr, ptr %19, align 8, !tbaa !3 %21 = getelementptr inbounds nuw i8, ptr %20, i64 16 %22 = load i8, ptr %21, align 16 - %23 = zext i8 %22 to i64 + %23 = zext nneg i8 %22 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %23 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_15FunctionTypeLocENS_12FunctionTypeENS_15FunctionLocInfoEE14getNextTypeLocEv.exit @@ -7019,7 +7019,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_29HLSLAttributedResourceTypeLocENS_26HLSLAttributedResourceTypeENS_29HLSLAttributedResourceLocInfoEE14getNextTypeLocEv.exit @@ -7056,7 +7056,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_21MacroQualifiedTypeLocENS_18MacroQualifiedTypeENS_21MacroQualifiedLocInfoEE14getNextTypeLocEv.exit @@ -7093,7 +7093,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_20MemberPointerTypeLocENS_17MemberPointerTypeENS_20MemberPointerLocInfoEE14getNextTypeLocEv.exit @@ -7130,7 +7130,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_24ObjCObjectPointerTypeLocENS_21ObjCObjectPointerTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -7169,7 +7169,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %8 = load ptr, ptr %7, align 8, !tbaa !3 %9 = getelementptr inbounds nuw i8, ptr %8, i64 16 %10 = load i8, ptr %9, align 16 - %11 = zext i8 %10 to i64 + %11 = zext nneg i8 %10 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %11 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_17ObjCObjectTypeLocENS_14ObjCObjectTypeENS_21ObjCObjectTypeLocInfoEE14getNextTypeLocEv.exit @@ -7215,7 +7215,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_20PackExpansionTypeLocENS_17PackExpansionTypeENS_24PackExpansionTypeLocInfoEE14getNextTypeLocEv.exit @@ -7252,7 +7252,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_19PackIndexingTypeLocENS_16PackIndexingTypeENS_23PackIndexingTypeLocInfoEE14getNextTypeLocEv.exit @@ -7289,7 +7289,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_12ParenTypeLocENS_9ParenTypeENS_12ParenLocInfoEE14getNextTypeLocEv.exit @@ -7326,7 +7326,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_11PipeTypeLocENS_8PipeTypeENS_15PipeTypeLocInfoEE14getNextTypeLocEv.exit @@ -7363,7 +7363,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_14PointerTypeLocENS_11PointerTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -7400,7 +7400,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_16ReferenceTypeLocENS_13ReferenceTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -7437,7 +7437,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_16ReferenceTypeLocENS_13ReferenceTypeENS_18PointerLikeLocInfoEE14getNextTypeLocEv.exit @@ -7474,7 +7474,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_13VectorTypeLocENS_10VectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit @@ -7511,7 +7511,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %2 %6 = load ptr, ptr %5, align 8, !tbaa !3 %7 = getelementptr inbounds nuw i8, ptr %6, i64 16 %8 = load i8, ptr %7, align 16 - %9 = zext i8 %8 to i64 + %9 = zext nneg i8 %8 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %9 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15ConcreteTypeLocINS_13UnqualTypeLocENS_13VectorTypeLocENS_10VectorTypeENS_17VectorTypeLocInfoEE14getNextTypeLocEv.exit @@ -7546,7 +7546,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15AdjustedTypeLoc14getOriginalLocEv.exit @@ -7579,7 +7579,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15AdjustedTypeLoc14getOriginalLocEv.exit @@ -7612,7 +7612,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ArrayTypeLoc13getElementLocEv.exit @@ -7646,7 +7646,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ArrayTypeLoc13getElementLocEv.exit @@ -7680,7 +7680,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ArrayTypeLoc13getElementLocEv.exit @@ -7714,7 +7714,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ArrayTypeLoc13getElementLocEv.exit @@ -7748,7 +7748,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang17AttributedTypeLoc14getModifiedLocEv.exit @@ -7782,7 +7782,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang23BTFTagAttributedTypeLoc13getWrappedLocEv.exit @@ -7816,7 +7816,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang18PointerLikeTypeLocINS_19BlockPointerTypeLocENS_16BlockPointerTypeENS_18PointerLikeLocInfoEE13getPointeeLocEv.exit @@ -7869,7 +7869,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %_ZNK5clang1 %13 = load ptr, ptr %12, align 8, !tbaa !3 %14 = getelementptr inbounds nuw i8, ptr %13, i64 16 %15 = load i8, ptr %14, align 16 - %16 = zext i8 %15 to i64 + %16 = zext nneg i8 %15 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %16 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang17ElaboratedTypeLoc15getNamedTypeLocEv.exit @@ -7939,7 +7939,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %_ZNK5clang1 %20 = load ptr, ptr %19, align 8, !tbaa !3 %21 = getelementptr inbounds nuw i8, ptr %20, i64 16 %22 = load i8, ptr %21, align 16 - %23 = zext i8 %22 to i64 + %23 = zext nneg i8 %22 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %23 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15FunctionTypeLoc12getReturnLocEv.exit @@ -8009,7 +8009,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %_ZNK5clang1 %20 = load ptr, ptr %19, align 8, !tbaa !3 %21 = getelementptr inbounds nuw i8, ptr %20, i64 16 %22 = load i8, ptr %21, align 16 - %23 = zext i8 %22 to i64 + %23 = zext nneg i8 %22 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %23 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang15FunctionTypeLoc12getReturnLocEv.exit @@ -8043,7 +8043,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang29HLSLAttributedResourceTypeLoc13getWrappedLocEv.exit @@ -8077,7 +8077,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang21MacroQualifiedTypeLoc11getInnerLocEv.exit @@ -8111,7 +8111,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang18PointerLikeTypeLocINS_20MemberPointerTypeLocENS_17MemberPointerTypeENS_20MemberPointerLocInfoEE13getPointeeLocEv.exit @@ -8145,7 +8145,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang20PackExpansionTypeLoc13getPatternLocEv.exit @@ -8179,7 +8179,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ParenTypeLoc11getInnerLocEv.exit @@ -8213,7 +8213,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang18PointerLikeTypeLocINS_14PointerTypeLocENS_11PointerTypeENS_18PointerLikeLocInfoEE13getPointeeLocEv.exit @@ -8247,7 +8247,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang18PointerLikeTypeLocINS_16ReferenceTypeLocENS_13ReferenceTypeENS_18PointerLikeLocInfoEE13getPointeeLocEv.exit @@ -8281,7 +8281,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang18PointerLikeTypeLocINS_16ReferenceTypeLocENS_13ReferenceTypeENS_18PointerLikeLocInfoEE13getPointeeLocEv.exit @@ -8315,7 +8315,7 @@ _ZNK5clang7TypeLoc15getTypeLocClassEv.exit.i.i.i.i.i.i.i: ; preds = %1 %4 = load ptr, ptr %3, align 8, !tbaa !3 %5 = getelementptr inbounds nuw i8, ptr %4, i64 16 %6 = load i8, ptr %5, align 16 - %7 = zext i8 %6 to i64 + %7 = zext nneg i8 %6 to i64 %switch.gep = getelementptr inbounds nuw [59 x i64], ptr @switch.table._ZN12_GLOBAL__N_130GetContainedAutoTypeLocVisitor17VisitArrayTypeLocEN5clang12ArrayTypeLocE, i64 0, i64 %7 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK5clang12ArrayTypeLoc13getElementLocEv.exit diff --git a/bench/llvm/optimized/X86ISelLowering.ll b/bench/llvm/optimized/X86ISelLowering.ll index 0495bc0d96b..39a50afdf91 100644 --- a/bench/llvm/optimized/X86ISelLowering.ll +++ b/bench/llvm/optimized/X86ISelLowering.ll @@ -28146,7 +28146,7 @@ _ZN4llvm5APIntD2Ev.exit: ; preds = %466, %472, %475 switch.lookup: ; preds = %502 %504 = add nsw i32 %293, -16 %505 = call i32 @llvm.fshl.i32(i32 %504, i32 %504, i32 28) - %506 = zext i32 %505 to i64 + %506 = zext nneg i32 %505 to i64 %switch.gep = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZL18combineSetCCEFLAGSN4llvm7SDValueERNS_3X868CondCodeERNS_12SelectionDAGERKNS_12X86SubtargetE.666, i64 0, i64 %506 %switch.load = load i16, ptr %switch.gep, align 2 br label %_ZN4llvm3MVT18getFloatingPointVTEj.exit @@ -28443,7 +28443,7 @@ _ZNK4llvm18TargetLoweringBase11isTypeLegalENS_3EVTE.exit570: ; preds = %632 switch.lookup814: ; preds = %_ZNK4llvm18TargetLoweringBase11isTypeLegalENS_3EVTE.exit570, %630 %639 = add nsw i32 %.sroa.speculated, -16 %640 = call i32 @llvm.fshl.i32(i32 %639, i32 %639, i32 28) - %641 = zext i32 %640 to i64 + %641 = zext nneg i32 %640 to i64 %switch.gep815 = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZL18combineSetCCEFLAGSN4llvm7SDValueERNS_3X868CondCodeERNS_12SelectionDAGERKNS_12X86SubtargetE.666, i64 0, i64 %641 %switch.load816 = load i16, ptr %switch.gep815, align 2 store i16 %switch.load816, ptr %41, align 8 @@ -52050,7 +52050,7 @@ _ZNK4llvm14ConstantSDNode6isZeroEv.exit50: ; preds = %49 _ZN4llvm8dyn_castINS_14ConstantSDNodeENS_7SDValueEEEDcRT0_.exit.thread: ; preds = %9 %switch.tableidx = add nsw i32 %0, -10 - %75 = zext i32 %switch.tableidx to i64 + %75 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL14TranslateX86CCN4llvm3ISD8CondCodeERKNS_5SDLocEbRNS_7SDValueES6_RNS_12SelectionDAGE, i64 0, i64 %75 %switch.load = load i32, ptr %switch.gep, align 4 br label %_ZL21TranslateIntegerX86CCN4llvm3ISD8CondCodeE.exit @@ -52152,7 +52152,7 @@ switch.lookup82: ; preds = %_ZN4llvm3ISD13isNON call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(12) %7, i64 12, i1 false), !tbaa.struct !760 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) %switch.tableidx83 = add nsw i32 %.042, -4 - %102 = zext i32 %switch.tableidx83 to i64 + %102 = zext nneg i32 %switch.tableidx83 to i64 %switch.gep84 = getelementptr inbounds nuw [8 x i32], ptr @switch.table._ZL14TranslateX86CCN4llvm3ISD8CondCodeERKNS_5SDLocEbRNS_7SDValueES6_RNS_12SelectionDAGE.649, i64 0, i64 %102 %switch.load85 = load i32, ptr %switch.gep84, align 4 br label %_ZL21TranslateIntegerX86CCN4llvm3ISD8CondCodeE.exit @@ -53870,7 +53870,7 @@ _ZNK4llvm3MVT14is128BitVectorEv.exit: ; preds = %430 switch.lookup: ; preds = %_ZNK4llvm3MVT14is128BitVectorEv.exit %switch.tableidx = add nsw i32 %149, -10 - %437 = zext i32 %switch.tableidx to i64 + %437 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i64], ptr @switch.table._ZL11LowerVSETCCN4llvm7SDValueERKNS_12X86SubtargetERNS_12SelectionDAGE, i64 0, i64 %437 %switch.load = load i64, ptr %switch.gep, align 8 %438 = add nsw i32 %149, -10 @@ -55027,7 +55027,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %4, %20 %25 = getelementptr inbounds nuw i8, ptr %.sroa.061.0.copyload, i64 88 %26 = load i32, ptr %25, align 8, !tbaa !1048 %switch.tableidx = add nsw i32 %26, -10 - %27 = zext i32 %switch.tableidx to i64 + %27 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i64], ptr @switch.table._ZNK4llvm17X86TargetLowering15LowerSETCCCARRYENS_7SDValueERNS_12SelectionDAGE, i64 0, i64 %27 %switch.load = load i64, ptr %switch.gep, align 8 %28 = getelementptr inbounds nuw i8, ptr %.sroa.063.0.copyload, i64 48 @@ -63053,10 +63053,10 @@ _ZNK4llvm3MVT20getVectorNumElementsEv.exit2295: ; preds = %1216, %1220 switch.lookup: ; preds = %1265, %1265, %1265, %1265, %1265, %1265, %1265, %1265, %1265, %1265 %switch.tableidx = add nsw i32 %164, -14506 - %1282 = zext i32 %switch.tableidx to i64 + %1282 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [12 x i64], ptr @switch.table._ZNK4llvm17X86TargetLowering23LowerINTRINSIC_WO_CHAINENS_7SDValueERNS_12SelectionDAGE, i64 0, i64 %1282 %switch.load = load i64, ptr %switch.gep, align 8 - %1283 = zext i32 %switch.tableidx to i64 + %1283 = zext nneg i32 %switch.tableidx to i64 %switch.gep3198 = getelementptr inbounds nuw [12 x i32], ptr @switch.table._ZNK4llvm17X86TargetLowering23LowerINTRINSIC_WO_CHAINENS_7SDValueERNS_12SelectionDAGE.650, i64 0, i64 %1283 %switch.load3199 = load i32, ptr %switch.gep3198, align 4 call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %113) #38 @@ -70535,10 +70535,10 @@ _ZN4llvm13IRBuilderBase21CollectMetadataToCopyEPNS_11InstructionENS_8ArrayRefIjE %24 = lshr i16 %23, 4 %25 = and i16 %24, 31 %switch.tableidx = add nsw i16 %25, -3 - %26 = zext i16 %switch.tableidx to i64 + %26 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZNK4llvm17X86TargetLowering29emitBitTestAtomicRMWIntrinsicEPNS_13AtomicRMWInstE, i64 0, i64 %26 %switch.load = load i32, ptr %switch.gep, align 4 - %27 = zext i16 %switch.tableidx to i64 + %27 = zext nneg i16 %switch.tableidx to i64 %switch.gep112 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZNK4llvm17X86TargetLowering29emitBitTestAtomicRMWIntrinsicEPNS_13AtomicRMWInstE.652, i64 0, i64 %27 %switch.load113 = load i32, ptr %switch.gep112, align 4 %28 = getelementptr inbounds nuw i8, ptr %1, i64 16 @@ -71142,7 +71142,7 @@ switch.lookup: ; preds = %21, %_ZN4llvm13IRBu %27 = load i16, ptr %26, align 2, !tbaa !1064 %28 = and i16 %27, 63 %switch.tableidx = add nsw i16 %28, -32 - %29 = zext i16 %switch.tableidx to i64 + %29 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZNK4llvm17X86TargetLowering30emitCmpArithAtomicRMWIntrinsicEPNS_13AtomicRMWInstE, i64 0, i64 %29 %switch.load = load i64, ptr %switch.gep, align 8 %30 = getelementptr inbounds nuw i8, ptr %1, i64 2 @@ -71150,7 +71150,7 @@ switch.lookup: ; preds = %21, %_ZN4llvm13IRBu %32 = lshr i16 %31, 4 %33 = and i16 %32, 31 %switch.tableidx48 = add nsw i16 %33, -1 - %34 = zext i16 %switch.tableidx48 to i64 + %34 = zext nneg i16 %switch.tableidx48 to i64 %switch.gep49 = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZNK4llvm17X86TargetLowering30emitCmpArithAtomicRMWIntrinsicEPNS_13AtomicRMWInstE.653, i64 0, i64 %34 %switch.load50 = load i32, ptr %switch.gep49, align 4 %35 = getelementptr inbounds i8, ptr %1, i64 -64 @@ -72029,7 +72029,7 @@ _ZN4llvm13IRBuilderBase21CollectMetadataToCopyEPNS_11InstructionENS_8ArrayRefIjE %57 = lshr i16 %56, 1 %58 = and i16 %57, 7 %switch.tableidx = add nsw i16 %58, -2 - %59 = zext i16 %switch.tableidx to i64 + %59 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [6 x i16], ptr @switch.table._ZNK4llvm17X86TargetLowering32lowerIdempotentRMWIntoFencedLoadEPNS_13AtomicRMWInstE, i64 0, i64 %59 %switch.load = load i16, ptr %switch.gep, align 2 %60 = icmp eq i8 %54, 0 @@ -76385,10 +76385,10 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit: ; preds = %3, %27 %31 = load i32, ptr %30, align 4, !tbaa !755 store i32 %31, ptr %29, align 8, !tbaa !756 %switch.tableidx = add nsw i16 %.sroa.0.0.copyload.i.i.i, -5 - %32 = zext i16 %switch.tableidx to i64 + %32 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZL13LowerCMP_SWAPN4llvm7SDValueERKNS_12X86SubtargetERNS_12SelectionDAGE, i64 0, i64 %32 %switch.load = load i64, ptr %switch.gep, align 8 - %33 = zext i16 %switch.tableidx to i64 + %33 = zext nneg i16 %switch.tableidx to i64 %switch.gep65 = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZL13LowerCMP_SWAPN4llvm7SDValueERKNS_12X86SubtargetERNS_12SelectionDAGE.654, i64 0, i64 %33 %switch.load66 = load i32, ptr %switch.gep65, align 4 %34 = getelementptr inbounds nuw i8, ptr %0, i64 40 @@ -81208,7 +81208,7 @@ _ZNK4llvm3MVT19getScalarSizeInBitsEv.exit: ; preds = %434, %433 _ZNK4llvm3MVT15isFloatingPointEv.exit.thread: ; preds = %455 %460 = add nsw i32 %459, -16 %461 = call i32 @llvm.fshl.i32(i32 %460, i32 %460, i32 28) - %462 = zext i32 %461 to i64 + %462 = zext nneg i32 %461 to i64 %switch.gep = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZL18combineSetCCEFLAGSN4llvm7SDValueERNS_3X868CondCodeERNS_12SelectionDAGERKNS_12X86SubtargetE.666, i64 0, i64 %462 %switch.load = load i16, ptr %switch.gep, align 2 br label %_ZN4llvm3MVT18getFloatingPointVTEj.exit @@ -111582,7 +111582,7 @@ _ZNK4llvm3EVT20getVectorNumElementsEv.exit67: ; preds = %_ZNK4llvm3MVT20getV switch.lookup: ; preds = %_ZNK4llvm3EVT20getVectorNumElementsEv.exit67 %switch.tableidx = add nsw i32 %0, -213 - %136 = zext i32 %switch.tableidx to i64 + %136 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL22combineX86ShuffleChainN4llvm8ArrayRefINS_7SDValueEEES1_NS0_IiEEibbbRNS_12SelectionDAGERKNS_12X86SubtargetE.664, i64 0, i64 %136 %switch.load = load i32, ptr %switch.gep, align 4 br label %_ZN4llvm12SelectionDAG29getOpcode_EXTEND_VECTOR_INREGEj.exit @@ -118200,7 +118200,7 @@ _ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit: ; preds = %_ZN4llvm8DebugLocC2 %47 = getelementptr inbounds nuw i8, ptr %1, i64 68 %48 = load i16, ptr %47, align 4, !tbaa !1665 %switch.tableidx = add nsw i16 %48, -334 - %49 = zext i16 %switch.tableidx to i64 + %49 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZNK4llvm17X86TargetLowering24EmitLoweredIndirectThunkERNS_12MachineInstrEPNS_17MachineBasicBlockE, i64 0, i64 %49 %switch.load = load i64, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #38 @@ -124286,7 +124286,7 @@ _ZN4llvm7BuildMIERNS_17MachineBasicBlockERNS_12MachineInstrERKNS_10MIMetadataERK call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #38 %297 = load i16, ptr %99, align 4, !tbaa !1665 %switch.tableidx = add nsw i16 %297, -1675 - %298 = zext i16 %switch.tableidx to i64 + %298 = zext nneg i16 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [11 x i64], ptr @switch.table._ZNK4llvm17X86TargetLowering27EmitInstrWithCustomInserterERNS_12MachineInstrEPNS_17MachineBasicBlockE, i64 0, i64 %298 %switch.load = load i64, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %48) #38 @@ -125476,7 +125476,7 @@ _ZN4llvm8DebugLocD2Ev.exit432: ; preds = %_ZN4llvm10MIMetadat switch.lookup: ; preds = %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit %882 = add nsw i32 %101, -3426 %883 = call i32 @llvm.fshl.i32(i32 %882, i32 %882, i32 30) - %884 = zext i32 %883 to i64 + %884 = zext nneg i32 %883 to i64 %switch.gep670 = getelementptr inbounds nuw [11 x i64], ptr @switch.table._ZNK4llvm17X86TargetLowering27EmitInstrWithCustomInserterERNS_12MachineInstrEPNS_17MachineBasicBlockE.658, i64 0, i64 %884 %switch.load671 = load i64, ptr %switch.gep670, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %58) #38 @@ -125564,7 +125564,7 @@ _ZN4llvm8DebugLocD2Ev.exit440: ; preds = %_ZN4llvm10MIMetadat switch.lookup672: ; preds = %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit, %_ZN4llvm10MIMetadataC2ERKNS_12MachineInstrE.exit %915 = add nsw i32 %101, -3424 %916 = call i32 @llvm.fshl.i32(i32 %915, i32 %915, i32 30) - %917 = zext i32 %916 to i64 + %917 = zext nneg i32 %916 to i64 %switch.gep673 = getelementptr inbounds nuw [11 x i64], ptr @switch.table._ZNK4llvm17X86TargetLowering27EmitInstrWithCustomInserterERNS_12MachineInstrEPNS_17MachineBasicBlockE.659, i64 0, i64 %917 %switch.load674 = load i64, ptr %switch.gep673, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %60) #38 @@ -166425,7 +166425,7 @@ _ZNK4llvm3EVT20getVectorNumElementsEv.exit372.i: ; preds = %.thread.i369.i, %_Z switch.lookup: ; preds = %2256, %2256 %2257 = add nsw i32 %2030, -16 %2258 = call i32 @llvm.fshl.i32(i32 %2257, i32 %2257, i32 28) - %2259 = zext i32 %2258 to i64 + %2259 = zext nneg i32 %2258 to i64 %switch.gep = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZL18combineSetCCEFLAGSN4llvm7SDValueERNS_3X868CondCodeERNS_12SelectionDAGERKNS_12X86SubtargetE.666, i64 0, i64 %2259 %switch.load = load i16, ptr %switch.gep, align 2 %2260 = udiv i32 %.0313.i, %2030 @@ -169267,7 +169267,7 @@ _ZNK4llvm3EVTeqES0_.exit717.thread998: ; preds = %452, %465, %469, %_ switch.lookup: ; preds = %521, %516 %switch.tableidx = add nsw i32 %447, -213 - %523 = zext i32 %switch.tableidx to i64 + %523 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL22combineX86ShuffleChainN4llvm8ArrayRefINS_7SDValueEEES1_NS0_IiEEibbbRNS_12SelectionDAGERKNS_12X86SubtargetE.664, i64 0, i64 %523 %switch.load = load i32, ptr %switch.gep, align 4 %524 = call { ptr, i32 } @_ZN4llvm12SelectionDAG7getNodeEjRKNS_5SDLocENS_3EVTENS_7SDValueE(ptr noundef nonnull align 8 dereferenceable(952) %1, i32 noundef %switch.load, ptr noundef nonnull align 8 dereferenceable(12) %16, i16 %.sroa.0.0.copyload.i, ptr null, ptr noundef nonnull byval(%"class.llvm::SDValue") align 8 %31) #38 @@ -206111,7 +206111,7 @@ switch.lookup: ; preds = %115 %129 = getelementptr inbounds nuw i8, ptr %128, i64 24 %130 = load i32, ptr %129, align 8, !tbaa !489 %switch.tableidx = add nsw i32 %27, -213 - %131 = zext i32 %switch.tableidx to i64 + %131 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL26combineEXTEND_VECTOR_INREGPN4llvm6SDNodeERNS_12SelectionDAGERNS_14TargetLowering15DAGCombinerInfoERKNS_12X86SubtargetE, i64 0, i64 %131 %switch.load = load i32, ptr %switch.gep, align 4 %132 = icmp eq i32 %130, %switch.load @@ -239785,7 +239785,7 @@ switch.lookup: %6 = getelementptr inbounds nuw i8, ptr %0, i64 24 %7 = load i32, ptr %6, align 8, !tbaa !489 %switch.tableidx = add nsw i32 %7, -341 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [6 x i32], ptr @switch.table._ZL24lowerAtomicArithWithLOCKN4llvm7SDValueERNS_12SelectionDAGERKNS_12X86SubtargetE, i64 0, i64 %8 %switch.load = load i32, ptr %switch.gep, align 4 %9 = getelementptr inbounds nuw i8, ptr %0, i64 104 @@ -281659,7 +281659,7 @@ switch.lookup: %26 = getelementptr inbounds nuw i8, ptr %0, i64 24 %27 = load i32, ptr %26, align 8, !tbaa !489 %switch.tableidx = add nsw i32 %27, -213 - %28 = zext i32 %switch.tableidx to i64 + %28 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL22combineX86ShuffleChainN4llvm8ArrayRefINS_7SDValueEEES1_NS0_IiEEibbbRNS_12SelectionDAGERKNS_12X86SubtargetE.664, i64 0, i64 %28 %switch.load = load i32, ptr %switch.gep, align 4 %29 = icmp ne i16 %.sroa.0.0.copyload.i.i.i, 52 @@ -294408,7 +294408,7 @@ _ZNK4llvm3MVT15isFloatingPointEv.exit.thread: ; preds = %277 switch.lookup: ; preds = %_ZNK4llvm3MVT15isFloatingPointEv.exit.thread, %_ZNK4llvm3MVT15isFloatingPointEv.exit.thread %281 = add nsw i32 %26, -16 %282 = call i32 @llvm.fshl.i32(i32 %281, i32 %281, i32 28) - %283 = zext i32 %282 to i64 + %283 = zext nneg i32 %282 to i64 %switch.gep = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZL18combineSetCCEFLAGSN4llvm7SDValueERNS_3X868CondCodeERNS_12SelectionDAGERKNS_12X86SubtargetE.666, i64 0, i64 %283 %switch.load = load i16, ptr %switch.gep, align 2 br label %_ZN4llvm3MVT18getFloatingPointVTEj.exit @@ -298375,7 +298375,7 @@ _ZNK4llvm3MVT20getVectorNumElementsEv.exit.i: ; preds = %1271, %_ZNK4llvm3MV switch.lookup3413: ; preds = %_ZNK4llvm3MVT20getVectorNumElementsEv.exit.i %1278 = load i32, ptr %141, align 4, !tbaa !49 %switch.tableidx = add nsw i32 %1278, -213 - %1279 = zext i32 %switch.tableidx to i64 + %1279 = zext nneg i32 %switch.tableidx to i64 %switch.gep3414 = getelementptr inbounds nuw [13 x i32], ptr @switch.table._ZL22combineX86ShuffleChainN4llvm8ArrayRefINS_7SDValueEEES1_NS0_IiEEibbbRNS_12SelectionDAGERKNS_12X86SubtargetE.664, i64 0, i64 %1279 %switch.load3415 = load i32, ptr %switch.gep3414, align 4 store i32 %switch.load3415, ptr %141, align 4, !tbaa !49 @@ -326711,7 +326711,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit519._crit_edge.i: ; preds = %_ZN4llvm5SDLocC2E switch.lookup211: ; preds = %534 %538 = add nsw i32 %521, -16 %539 = call i32 @llvm.fshl.i32(i32 %538, i32 %538, i32 28) - %540 = zext i32 %539 to i64 + %540 = zext nneg i32 %539 to i64 %switch.gep212 = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZL18combineSetCCEFLAGSN4llvm7SDValueERNS_3X868CondCodeERNS_12SelectionDAGERKNS_12X86SubtargetE.666, i64 0, i64 %540 %switch.load213 = load i16, ptr %switch.gep212, align 2 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %97) #38 @@ -328437,7 +328437,7 @@ _ZN4llvm5SDLocC2ENS_7SDValueE.exit728.i: ; preds = %1149, %1146 store i32 %1153, ptr %1151, align 8, !tbaa !756 %1154 = add nsw i32 %738, -16 %1155 = call i32 @llvm.fshl.i32(i32 %1154, i32 %1154, i32 28) - %1156 = zext i32 %1155 to i64 + %1156 = zext nneg i32 %1155 to i64 %switch.gep215 = getelementptr inbounds nuw [5 x i16], ptr @switch.table._ZL18combineSetCCEFLAGSN4llvm7SDValueERNS_3X868CondCodeERNS_12SelectionDAGERKNS_12X86SubtargetE.666, i64 0, i64 %1156 %switch.load216 = load i16, ptr %switch.gep215, align 2 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %72) #38 @@ -350921,7 +350921,7 @@ _ZN4llvm3MVT12getIntegerVTEj.exit: ; preds = %_ZNK4llvm3MVT19getS %47 = getelementptr inbounds nuw i8, ptr %0, i64 24 %48 = load i32, ptr %47, align 8, !tbaa !489 %switch.tableidx = add nsw i32 %48, -501 - %49 = zext i32 %switch.tableidx to i64 + %49 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i32], ptr @switch.table._ZL17lowerX86FPLogicOpPN4llvm6SDNodeERNS_12SelectionDAGERKNS_12X86SubtargetE, i64 0, i64 %49 %switch.load = load i32, ptr %switch.gep, align 4 store ptr %.fca.0.extract20, ptr %5, align 8, !tbaa !488 diff --git a/bench/miniaudio/optimized/unity.ll b/bench/miniaudio/optimized/unity.ll index 1cbde6ad4f3..ae9731799ca 100644 --- a/bench/miniaudio/optimized/unity.ll +++ b/bench/miniaudio/optimized/unity.ll @@ -111824,7 +111824,7 @@ ma_device_get_context.exit.i393: ; preds = %switch.lookup547, % switch.lookup554: ; preds = %308, %ma_device_get_context.exit.i393 %.0.i1.i394 = phi ptr [ %310, %308 ], [ null, %ma_device_get_context.exit.i393 ] - %311 = zext i32 %.0.i391487 to i64 + %311 = zext nneg i32 %.0.i391487 to i64 %switch.gep555 = getelementptr inbounds nuw [6 x ptr], ptr @switch.table.ma_device_init__pulse.63, i64 0, i64 %311 %switch.load556 = load ptr, ptr %switch.gep555, align 8 %312 = call i32 (ptr, i32, ptr, ...) @ma_log_postf(ptr noundef %.0.i1.i394, i32 noundef 1, ptr noundef nonnull @.str.281, ptr noundef nonnull %switch.load556, i32 noundef %305, i32 noundef %304) @@ -112334,7 +112334,7 @@ ma_device_get_context.exit.i451: ; preds = %switch.lookup571, % switch.lookup578: ; preds = %556, %ma_device_get_context.exit.i451 %.0.i1.i452 = phi ptr [ %558, %556 ], [ null, %ma_device_get_context.exit.i451 ] - %559 = zext i32 %.0.i449513 to i64 + %559 = zext nneg i32 %.0.i449513 to i64 %switch.gep579 = getelementptr inbounds nuw [6 x ptr], ptr @switch.table.ma_device_init__pulse.63, i64 0, i64 %559 %switch.load580 = load ptr, ptr %switch.gep579, align 8 %560 = call i32 (ptr, i32, ptr, ...) @ma_log_postf(ptr noundef %.0.i1.i452, i32 noundef 1, ptr noundef nonnull @.str.289, ptr noundef nonnull %switch.load580, i32 noundef %553, i32 noundef %552) @@ -112499,7 +112499,7 @@ ma_device_get_context.exit.i459: ; preds = %613 switch.lookup563: ; preds = %ma_device_get_log.exit436 %switch.tableidx564 = add nsw i32 %501, -1 - %639 = zext i32 %switch.tableidx564 to i64 + %639 = zext nneg i32 %switch.tableidx564 to i64 %switch.gep565 = getelementptr inbounds nuw [5 x i32], ptr @switch.table.ma_device_init__pulse.60, i64 0, i64 %639 %switch.load566 = load i32, ptr %switch.gep565, align 4 br label %ma_result_from_pulse.exit438thread-pre-split @@ -112544,7 +112544,7 @@ ma_log_post.exit416: ; preds = %376, %ma_device_get switch.lookup540: ; preds = %ma_device_get_log.exit380 %switch.tableidx = add nsw i32 %253, -1 - %656 = zext i32 %switch.tableidx to i64 + %656 = zext nneg i32 %switch.tableidx to i64 %switch.gep541 = getelementptr inbounds nuw [5 x i32], ptr @switch.table.ma_device_init__pulse.60, i64 0, i64 %656 %switch.load542 = load i32, ptr %switch.gep541, align 4 br label %ma_result_from_pulse.exit diff --git a/bench/node/optimized/libnode.cares_wrap.ll b/bench/node/optimized/libnode.cares_wrap.ll index eea16c9a8ce..0ca7220d36d 100644 --- a/bench/node/optimized/libnode.cares_wrap.ll +++ b/bench/node/optimized/libnode.cares_wrap.ll @@ -1571,7 +1571,7 @@ if.then2: ; preds = %if.then switch.lookup: ; preds = %if.then2 %switch.tableidx = add i32 %call, -1 - %7 = zext i32 %switch.tableidx to i64 + %7 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %7 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -1617,7 +1617,7 @@ if.then8: ; preds = %if.end5 switch.lookup41: ; preds = %if.then8 %switch.tableidx42 = add i32 %call6, -1 - %13 = zext i32 %switch.tableidx42 to i64 + %13 = zext nneg i32 %switch.tableidx42 to i64 %switch.gep43 = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %13 %switch.load44 = load ptr, ptr %switch.gep43, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit31 @@ -21449,7 +21449,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -21975,7 +21975,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -22501,7 +22501,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -23027,7 +23027,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -23553,7 +23553,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -24079,7 +24079,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -24605,7 +24605,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -25131,7 +25131,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -25657,7 +25657,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -26183,7 +26183,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -26709,7 +26709,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -27235,7 +27235,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit @@ -27965,7 +27965,7 @@ do.end5: ; preds = %entry switch.lookup: ; preds = %do.end5 %switch.tableidx = add nsw i32 %status, -1 - %8 = zext i32 %switch.tableidx to i64 + %8 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [24 x ptr], ptr @switch.table._ZN4node10cares_wrap9QueryWrapINS0_13ReverseTraitsEE10ParseErrorEi, i64 0, i64 %8 %switch.load = load ptr, ptr %switch.gep, align 8 br label %_ZN4node10cares_wrap17ToErrorCodeStringEi.exit diff --git a/bench/openusd/optimized/listOp.ll b/bench/openusd/optimized/listOp.ll index 4c6ae19115d..f6c7a1ff152 100644 --- a/bench/openusd/optimized/listOp.ll +++ b/bench/openusd/optimized/listOp.ll @@ -9661,7 +9661,7 @@ _ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpIiE8SetItemsERKSt6vectorIiSaIiEEN switch.lookup: ; preds = %52 %switch.tableidx = add nsw i32 %2, -1 - %59 = zext i32 %switch.tableidx to i64 + %59 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %59 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpIiE8GetItemsENS_13SdfListOpTypeE.exit @@ -18440,7 +18440,7 @@ _ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpIjE8SetItemsERKSt6vectorIjSaIjEEN switch.lookup: ; preds = %52 %switch.tableidx = add nsw i32 %2, -1 - %59 = zext i32 %switch.tableidx to i64 + %59 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %59 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpIjE8GetItemsENS_13SdfListOpTypeE.exit @@ -27226,7 +27226,7 @@ _ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpIlE8SetItemsERKSt6vectorIlSaIlEEN switch.lookup: ; preds = %52 %switch.tableidx = add nsw i32 %2, -1 - %59 = zext i32 %switch.tableidx to i64 + %59 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %59 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpIlE8GetItemsENS_13SdfListOpTypeE.exit @@ -36012,7 +36012,7 @@ _ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpImE8SetItemsERKSt6vectorImSaImEEN switch.lookup: ; preds = %52 %switch.tableidx = add nsw i32 %2, -1 - %59 = zext i32 %switch.tableidx to i64 + %59 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %59 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpImE8GetItemsENS_13SdfListOpTypeE.exit @@ -41235,7 +41235,7 @@ define weak_odr void @_ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINSt7__cxx1 switch.lookup: ; preds = %19 %switch.tableidx = add nsw i32 %2, -1 - %26 = zext i32 %switch.tableidx to i64 + %26 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %26 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8GetItemsENS_13SdfListOpTypeE.exit @@ -48868,7 +48868,7 @@ define weak_odr void @_ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_7TfToke switch.lookup: ; preds = %27 %switch.tableidx = add nsw i32 %2, -1 - %34 = zext i32 %switch.tableidx to i64 + %34 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %34 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_7TfTokenEE8GetItemsENS_13SdfListOpTypeE.exit @@ -56594,7 +56594,7 @@ define weak_odr void @_ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_20SdfUn switch.lookup: ; preds = %22 %switch.tableidx = add nsw i32 %2, -1 - %29 = zext i32 %switch.tableidx to i64 + %29 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %29 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_20SdfUnregisteredValueEE8GetItemsENS_13SdfListOpTypeE.exit @@ -64420,7 +64420,7 @@ define weak_odr void @_ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_7SdfPat switch.lookup: ; preds = %21 %switch.tableidx = add nsw i32 %2, -1 - %28 = zext i32 %switch.tableidx to i64 + %28 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %28 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_7SdfPathEE8GetItemsENS_13SdfListOpTypeE.exit @@ -70726,7 +70726,7 @@ define weak_odr void @_ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_12SdfRe switch.lookup: ; preds = %21 %switch.tableidx = add nsw i32 %2, -1 - %28 = zext i32 %switch.tableidx to i64 + %28 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %28 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_12SdfReferenceEE8GetItemsENS_13SdfListOpTypeE.exit @@ -77368,7 +77368,7 @@ define weak_odr void @_ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPa switch.lookup: ; preds = %22 %switch.tableidx = add nsw i32 %2, -1 - %29 = zext i32 %switch.tableidx to i64 + %29 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i64], ptr @switch.table._ZN32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE17ComposeOperationsERKS2_NS_13SdfListOpTypeE, i64 0, i64 %29 %switch.load = load i64, ptr %switch.gep, align 8 br label %_ZNK32pxrInternal_v0_24__pxrReserved__9SdfListOpINS_10SdfPayloadEE8GetItemsENS_13SdfListOpTypeE.exit diff --git a/bench/php/optimized/simplexml.ll b/bench/php/optimized/simplexml.ll index 27241634bb5..7fababd088d 100644 --- a/bench/php/optimized/simplexml.ll +++ b/bench/php/optimized/simplexml.ll @@ -251,7 +251,7 @@ php_sxe_get_first_node_non_destructive.exit.thread: ; preds = %27, %29 switch.lookup: ; preds = %31 %switch.tableidx = add nsw i32 %26, -1 - %33 = zext i32 %switch.tableidx to i64 + %33 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %33 %switch.load = load i64, ptr %switch.gep, align 8 %34 = getelementptr inbounds nuw i8, ptr %30, i64 %switch.load @@ -844,7 +844,7 @@ php_sxe_get_first_node_non_destructive.exit.thread: ; preds = %23, %25 switch.lookup: ; preds = %27 %switch.tableidx = add i32 %22, -1 - %29 = zext i32 %switch.tableidx to i64 + %29 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %29 %switch.load = load i64, ptr %switch.gep, align 8 %30 = getelementptr inbounds nuw i8, ptr %26, i64 %switch.load @@ -1033,7 +1033,7 @@ php_sxe_get_first_node_non_destructive.exit.thread: ; preds = %24, %26 switch.lookup: ; preds = %28 %switch.tableidx = add i32 %23, -1 - %30 = zext i32 %switch.tableidx to i64 + %30 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %30 %switch.load = load i64, ptr %switch.gep, align 8 %31 = getelementptr inbounds nuw i8, ptr %27, i64 %switch.load @@ -1429,7 +1429,7 @@ php_sxe_get_first_node_non_destructive.exit.thread: ; preds = %26, %28 switch.lookup: ; preds = %30 %switch.tableidx = add i32 %25, -1 - %32 = zext i32 %switch.tableidx to i64 + %32 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %32 %switch.load = load i64, ptr %switch.gep, align 8 %33 = getelementptr inbounds nuw i8, ptr %29, i64 %switch.load @@ -1517,7 +1517,7 @@ php_sxe_get_first_node_non_destructive.exit.thread: ; preds = %18, %20 switch.lookup: ; preds = %22 %switch.tableidx = add i32 %17, -1 - %24 = zext i32 %switch.tableidx to i64 + %24 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %24 %switch.load = load i64, ptr %switch.gep, align 8 %25 = getelementptr inbounds nuw i8, ptr %21, i64 %switch.load @@ -1638,7 +1638,7 @@ php_sxe_get_first_node_non_destructive.exit.thread: ; preds = %23, %25 switch.lookup: ; preds = %27 %switch.tableidx = add i32 %22, -1 - %29 = zext i32 %switch.tableidx to i64 + %29 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %29 %switch.load = load i64, ptr %switch.gep, align 8 %30 = getelementptr inbounds nuw i8, ptr %26, i64 %switch.load @@ -1990,7 +1990,7 @@ php_sxe_get_first_node_non_destructive.exit.thread: ; preds = %34, %36 switch.lookup: ; preds = %38 %switch.tableidx = add i32 %33, -1 - %40 = zext i32 %switch.tableidx to i64 + %40 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %40 %switch.load = load i64, ptr %switch.gep, align 8 %41 = getelementptr inbounds nuw i8, ptr %37, i64 %switch.load @@ -2185,7 +2185,7 @@ define internal fastcc range(i32 -1, 1) i32 @sxe_object_cast_ex(ptr noundef %0, switch.lookup: ; preds = %13 %switch.tableidx = add nsw i32 %7, -1 - %15 = zext i32 %switch.tableidx to i64 + %15 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %15 %switch.load = load i64, ptr %switch.gep, align 8 %16 = getelementptr inbounds nuw i8, ptr %12, i64 %switch.load @@ -2387,7 +2387,7 @@ match_ns.exit.i: ; preds = %.thread.i.i49, %81 switch.lookup108: ; preds = %98 %switch.tableidx109 = add nsw i32 %93, -1 - %100 = zext i32 %switch.tableidx109 to i64 + %100 = zext nneg i32 %switch.tableidx109 to i64 %switch.gep110 = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %100 %switch.load111 = load i64, ptr %switch.gep110, align 8 %101 = getelementptr inbounds nuw i8, ptr %97, i64 %switch.load111 @@ -2683,7 +2683,7 @@ php_sxe_get_first_node_non_destructive.exit60.thread: ; preds = %229, %230 switch.lookup112: ; preds = %232 %switch.tableidx113 = add nsw i32 %7, -1 - %234 = zext i32 %switch.tableidx113 to i64 + %234 = zext nneg i32 %switch.tableidx113 to i64 %switch.gep114 = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %234 %switch.load115 = load i64, ptr %switch.gep114, align 8 %235 = getelementptr inbounds nuw i8, ptr %231, i64 %switch.load115 @@ -4644,7 +4644,7 @@ define hidden ptr @simplexml_export_node(ptr noundef readonly captures(none) %0) switch.lookup: ; preds = %15 %switch.tableidx = add i32 %10, -1 - %17 = zext i32 %switch.tableidx to i64 + %17 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %17 %switch.load = load i64, ptr %switch.gep, align 8 %18 = getelementptr inbounds nuw i8, ptr %14, i64 %switch.load @@ -9069,7 +9069,7 @@ php_sxe_get_first_node_non_destructive.exit165.thread: ; preds = %109, %111 switch.lookup: ; preds = %113 %switch.tableidx = add nsw i32 %108, -1 - %115 = zext i32 %switch.tableidx to i64 + %115 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [3 x i64], ptr @switch.table.sxe_get_prop_hash, i64 0, i64 %115 %switch.load = load i64, ptr %switch.gep, align 8 %116 = getelementptr inbounds nuw i8, ptr %112, i64 %switch.load diff --git a/bench/postgres/optimized/postmaster.ll b/bench/postgres/optimized/postmaster.ll index 41ac8d7e9c1..6932f77410b 100644 --- a/bench/postgres/optimized/postmaster.ll +++ b/bench/postgres/optimized/postmaster.ll @@ -1627,11 +1627,11 @@ define internal fastcc void @UpdatePMState(i32 noundef range(i32 1, 12) %0) unna switch.lookup: ; preds = %1 %3 = load i32, ptr @pmState, align 4 - %4 = zext i32 %3 to i64 + %4 = zext nneg i32 %3 to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %4 %switch.load = load ptr, ptr %switch.gep, align 8 %switch.tableidx = add nsw i32 %0, -1 - %5 = zext i32 %switch.tableidx to i64 + %5 = zext nneg i32 %switch.tableidx to i64 %switch.gep6 = getelementptr inbounds nuw [11 x ptr], ptr @switch.table.UpdatePMState.2, i64 0, i64 %5 %switch.load7 = load ptr, ptr %switch.gep6, align 8 %6 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load, ptr noundef nonnull %switch.load7) #18 @@ -2580,7 +2580,7 @@ LaunchMissingBackgroundProcesses.exit: ; preds = %314, %315 switch.lookup: ; preds = %345 %347 = load i32, ptr @pmState, align 4 - %348 = zext i32 %347 to i64 + %348 = zext nneg i32 %347 to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %348 %switch.load = load ptr, ptr %switch.gep, align 8 %349 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load, ptr noundef nonnull @.str.133) #18 @@ -2639,7 +2639,7 @@ UpdatePMState.exit.i: ; preds = %switch.lookup, %345 .sink.split.sink.split.i: ; preds = %368, %360 %switch.table.ServerLoop.4.sink = phi ptr [ @switch.table.HandleFatalError.20, %360 ], [ @switch.table.HandleFatalError.20, %368 ] %370 = load i32, ptr @pmState, align 4 - %371 = zext i32 %370 to i64 + %371 = zext nneg i32 %370 to i64 %switch.gep16 = getelementptr inbounds nuw [12 x ptr], ptr %switch.table.ServerLoop.4.sink, i64 0, i64 %371 %switch.load17 = load ptr, ptr %switch.gep16, align 8 %372 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load17, ptr noundef nonnull @.str.133) #18 @@ -2709,7 +2709,7 @@ TerminateChildren.exit.i: ; preds = %389, %SignalChildre switch.lookup20: ; preds = %TerminateChildren.exit.i %391 = load i32, ptr @pmState, align 4 - %392 = zext i32 %391 to i64 + %392 = zext nneg i32 %391 to i64 %switch.gep21 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %392 %switch.load22 = load ptr, ptr %switch.gep21, align 8 %393 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load22, ptr noundef nonnull @.str.134) #18 @@ -2893,7 +2893,7 @@ process_pm_reload_request.exit: ; preds = %441, %439, %437, %4 switch.lookup23: ; preds = %464 %466 = load i32, ptr @pmState, align 4 - %467 = zext i32 %466 to i64 + %467 = zext nneg i32 %466 to i64 %switch.gep24 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %467 %switch.load25 = load ptr, ptr %switch.gep24, align 8 %468 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load25, ptr noundef nonnull @.str.134) #18 @@ -2953,7 +2953,7 @@ TerminateChildren.exit.i67: ; preds = %select.unfold.i.i.i switch.lookup26: ; preds = %TerminateChildren.exit.i67 %485 = load i32, ptr @pmState, align 4 - %486 = zext i32 %485 to i64 + %486 = zext nneg i32 %485 to i64 %switch.gep27 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %486 %switch.load28 = load ptr, ptr %switch.gep27, align 8 %487 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load28, ptr noundef nonnull @.str.134) #18 @@ -3057,7 +3057,7 @@ LogChildExit.exit317: ; preds = %.thread.i314, %507, switch.lookup29: ; preds = %523 %525 = load i32, ptr @pmState, align 4 - %526 = zext i32 %525 to i64 + %526 = zext nneg i32 %525 to i64 %switch.gep30 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %526 %switch.load31 = load ptr, ptr %switch.gep30, align 8 %527 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load31, ptr noundef nonnull @.str.134) #18 @@ -3162,7 +3162,7 @@ LogChildExit.exit305: ; preds = %.thread.i302, %548, switch.lookup32: ; preds = %560 %562 = load i32, ptr @pmState, align 4 - %563 = zext i32 %562 to i64 + %563 = zext nneg i32 %562 to i64 %switch.gep33 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %563 %switch.load34 = load ptr, ptr %switch.gep33, align 8 %564 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load34, ptr noundef nonnull @.str.132) #18 @@ -3301,7 +3301,7 @@ LogChildExit.exit293: ; preds = %.thread.i290, %594, switch.lookup35: ; preds = %617 %619 = load i32, ptr @pmState, align 4 - %620 = zext i32 %619 to i64 + %620 = zext nneg i32 %619 to i64 %switch.gep36 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %620 %switch.load37 = load ptr, ptr %switch.gep36, align 8 %621 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load37, ptr noundef nonnull @.str.137) #18 @@ -4515,7 +4515,7 @@ StartChildProcess.exit333: ; preds = %1087, %1090, %1078, switch.lookup38: ; preds = %1098 %1100 = load i32, ptr @pmState, align 4 - %1101 = zext i32 %1100 to i64 + %1101 = zext nneg i32 %1100 to i64 %switch.gep39 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %1101 %switch.load40 = load ptr, ptr %switch.gep39, align 8 %1102 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load40, ptr noundef nonnull @.str.130) #18 @@ -4552,7 +4552,7 @@ UpdatePMState.exit.i87: ; preds = %switch.lookup38, %1 switch.lookup41: ; preds = %1113 %1115 = load i32, ptr @pmState, align 4 - %1116 = zext i32 %1115 to i64 + %1116 = zext nneg i32 %1115 to i64 %switch.gep42 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %1116 %switch.load43 = load ptr, ptr %switch.gep42, align 8 %1117 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load43, ptr noundef nonnull @.str.131) #18 @@ -4860,7 +4860,7 @@ SignalChildren.exit.i84: ; preds = %select.unfold.us.i. switch.lookup44: ; preds = %SignalChildren.exit.i84 %1256 = load i32, ptr @pmState, align 4 - %1257 = zext i32 %1256 to i64 + %1257 = zext nneg i32 %1256 to i64 %switch.gep45 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %1257 %switch.load46 = load ptr, ptr %switch.gep45, align 8 %1258 = call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load46, ptr noundef nonnull @.str.136) #18 @@ -5431,7 +5431,7 @@ define internal fastcc void @signal_child(ptr noundef readonly captures(none) %0 switch.lookup: ; preds = %2 %switch.tableidx = add nsw i32 %1, -1 - %5 = zext i32 %switch.tableidx to i64 + %5 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [15 x ptr], ptr @switch.table.signal_child, i64 0, i64 %5 %switch.load = load ptr, ptr %switch.gep, align 8 %6 = getelementptr inbounds nuw i8, ptr %0, i64 8 @@ -5530,7 +5530,7 @@ define internal fastcc void @PostmasterStateMachine() unnamed_addr #2 { switch.lookup: ; preds = %11 %13 = load i32, ptr @pmState, align 4 - %14 = zext i32 %13 to i64 + %14 = zext nneg i32 %13 to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %14 %switch.load = load ptr, ptr %switch.gep, align 8 %15 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load, ptr noundef nonnull @.str.133) #18 @@ -5723,7 +5723,7 @@ SignalChildren.exit: ; preds = %select.unfold.i, %s switch.lookup148: ; preds = %SignalChildren.exit %86 = load i32, ptr @pmState, align 4 - %87 = zext i32 %86 to i64 + %87 = zext nneg i32 %86 to i64 %switch.gep149 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %87 %switch.load150 = load ptr, ptr %switch.gep149, align 8 %88 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load150, ptr noundef nonnull @.str.134) #18 @@ -5752,7 +5752,7 @@ UpdatePMState.exit55: ; preds = %SignalChildren.exit switch.lookup151: ; preds = %95 %97 = load i32, ptr @pmState, align 4 - %98 = zext i32 %97 to i64 + %98 = zext nneg i32 %97 to i64 %switch.gep152 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %98 %switch.load153 = load ptr, ptr %switch.gep152, align 8 %99 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load153, ptr noundef nonnull @.str.137) #18 @@ -5818,7 +5818,7 @@ select.unfold.i72: ; preds = %108, %.lr.ph.split. switch.lookup154: ; preds = %.thread %119 = load i32, ptr @pmState, align 4 - %120 = zext i32 %119 to i64 + %120 = zext nneg i32 %119 to i64 %switch.gep155 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %120 %switch.load156 = load ptr, ptr %switch.gep155, align 8 %121 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load156, ptr noundef nonnull @.str.135) #18 @@ -5869,7 +5869,7 @@ btmask_all_except_n.exit: ; preds = %127 switch.lookup157: ; preds = %135 %137 = load i32, ptr @pmState, align 4 - %138 = zext i32 %137 to i64 + %138 = zext nneg i32 %137 to i64 %switch.gep158 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %138 %switch.load159 = load ptr, ptr %switch.gep158, align 8 %139 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load159, ptr noundef nonnull @.str.138) #18 @@ -5910,7 +5910,7 @@ btmask_all_except_n.exit92.thread-pre-split111_crit_edge: ; preds = %btmask_all_ switch.lookup160: ; preds = %147 %149 = load i32, ptr @pmState, align 4 - %150 = zext i32 %149 to i64 + %150 = zext nneg i32 %149 to i64 %switch.gep161 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %150 %switch.load162 = load ptr, ptr %switch.gep161, align 8 %151 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load162, ptr noundef nonnull @.str.139) #18 @@ -6026,7 +6026,7 @@ switch.lookup160: ; preds = %147 switch.lookup163: ; preds = %190 %193 = load i32, ptr @pmState, align 4 - %194 = zext i32 %193 to i64 + %194 = zext nneg i32 %193 to i64 %switch.gep164 = getelementptr inbounds nuw [12 x ptr], ptr @switch.table.HandleFatalError.20, i64 0, i64 %194 %switch.load165 = load ptr, ptr %switch.gep164, align 8 %195 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load165, ptr noundef nonnull @.str.129) #18 @@ -6293,7 +6293,7 @@ ConfigurePostmasterWaitSet.exit: ; preds = %22, %24 %.str.134.sink = phi ptr [ @.str.134, %20 ], [ @.str.137, %ConfigurePostmasterWaitSet.exit ] %.sink.ph = phi i32 [ 6, %20 ], [ 10, %ConfigurePostmasterWaitSet.exit ] %29 = load i32, ptr @pmState, align 4 - %30 = zext i32 %29 to i64 + %30 = zext nneg i32 %29 to i64 %switch.gep = getelementptr inbounds nuw [12 x ptr], ptr %switch.table.HandleFatalError.sink, i64 0, i64 %30 %switch.load = load ptr, ptr %switch.gep, align 8 %31 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.127, ptr noundef nonnull %switch.load, ptr noundef nonnull %.str.134.sink) #18 diff --git a/bench/pugixml/optimized/pugixml.ll b/bench/pugixml/optimized/pugixml.ll index b864794caf3..b0dbaf53eb4 100644 --- a/bench/pugixml/optimized/pugixml.ll +++ b/bench/pugixml/optimized/pugixml.ll @@ -20837,7 +20837,7 @@ _ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit: ; preds = %2, %._crit_edge.lo %.0914 = phi ptr [ %.09, %23 ], [ %.0912, %_ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit ] %18 = load i32, ptr %.0914, align 8, !tbaa !316 %switch.tableidx = add nsw i32 %18, -1 - %19 = zext i32 %switch.tableidx to i64 + %19 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN4pugi4impl12_GLOBAL__N_112xpath_parser30parse_path_or_unary_expressionEv, i64 0, i64 %19 %switch.load = load i64, ptr %switch.gep, align 8 %20 = getelementptr inbounds nuw i8, ptr %.0914, i64 %switch.load @@ -20997,7 +20997,7 @@ _ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit: ; preds = %3, %._crit_edge.lo %.02029 = phi ptr [ %.020, %24 ], [ %.02027, %_ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit ] %19 = load i32, ptr %.02029, align 8, !tbaa !316 %switch.tableidx = add nsw i32 %19, -1 - %20 = zext i32 %switch.tableidx to i64 + %20 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN4pugi4impl12_GLOBAL__N_112xpath_parser30parse_path_or_unary_expressionEv, i64 0, i64 %20 %switch.load = load i64, ptr %switch.gep, align 8 %21 = getelementptr inbounds nuw i8, ptr %.02029, i64 %switch.load @@ -21182,7 +21182,7 @@ _ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i: ; preds = %._crit_edge.loop %.02029.i = phi ptr [ %.020.i, %24 ], [ %.02027.i, %_ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i ] %19 = load i32, ptr %.02029.i, align 8, !tbaa !316 %switch.tableidx = add nsw i32 %19, -1 - %20 = zext i32 %switch.tableidx to i64 + %20 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN4pugi4impl12_GLOBAL__N_112xpath_parser30parse_path_or_unary_expressionEv, i64 0, i64 %20 %switch.load = load i64, ptr %switch.gep, align 8 %21 = getelementptr inbounds nuw i8, ptr %.02029.i, i64 %switch.load @@ -21274,7 +21274,7 @@ _ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i: ; preds = %._crit_edge.loop %.02029.i = phi ptr [ %.020.i, %24 ], [ %.02027.i, %_ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i ] %19 = load i32, ptr %.02029.i, align 8, !tbaa !316 %switch.tableidx = add nsw i32 %19, -1 - %20 = zext i32 %switch.tableidx to i64 + %20 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN4pugi4impl12_GLOBAL__N_112xpath_parser30parse_path_or_unary_expressionEv, i64 0, i64 %20 %switch.load = load i64, ptr %switch.gep, align 8 %21 = getelementptr inbounds nuw i8, ptr %.02029.i, i64 %switch.load @@ -21553,7 +21553,7 @@ _ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i: ; preds = %._crit_edge.loop %.0914.i = phi ptr [ %.09.i, %23 ], [ %.0912.i, %_ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i ] %18 = load i32, ptr %.0914.i, align 8, !tbaa !316 %switch.tableidx = add nsw i32 %18, -1 - %19 = zext i32 %switch.tableidx to i64 + %19 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN4pugi4impl12_GLOBAL__N_112xpath_parser30parse_path_or_unary_expressionEv, i64 0, i64 %19 %switch.load = load i64, ptr %switch.gep, align 8 %20 = getelementptr inbounds nuw i8, ptr %.0914.i, i64 %switch.load @@ -21611,7 +21611,7 @@ _ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i: ; preds = %._crit_edge.loop %.0914.i = phi ptr [ %.09.i, %23 ], [ %.0912.i, %_ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i ] %18 = load i32, ptr %.0914.i, align 8, !tbaa !316 %switch.tableidx = add nsw i32 %18, -1 - %19 = zext i32 %switch.tableidx to i64 + %19 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN4pugi4impl12_GLOBAL__N_112xpath_parser30parse_path_or_unary_expressionEv, i64 0, i64 %19 %switch.load = load i64, ptr %switch.gep, align 8 %20 = getelementptr inbounds nuw i8, ptr %.0914.i, i64 %switch.load @@ -36984,7 +36984,7 @@ _ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i.i.i.i: ; preds = %._crit_edg %.0914.i.i.i.i = phi ptr [ %.09.i.i.i.i, %67 ], [ %.0912.i.i.i.i, %_ZN4pugi4impl12_GLOBAL__N_111hash_stringEPKc.exit.i.i.i.i ] %62 = load i32, ptr %.0914.i.i.i.i, align 8, !tbaa !316 %switch.tableidx = add nsw i32 %62, -1 - %63 = zext i32 %switch.tableidx to i64 + %63 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [4 x i64], ptr @switch.table._ZN4pugi4impl12_GLOBAL__N_112xpath_parser30parse_path_or_unary_expressionEv, i64 0, i64 %63 %switch.load = load i64, ptr %switch.gep, align 8 %64 = getelementptr inbounds nuw i8, ptr %.0914.i.i.i.i, i64 %switch.load diff --git a/bench/ruby/optimized/prism.ll b/bench/ruby/optimized/prism.ll index 11073c6b359..bd8b737b183 100644 --- a/bench/ruby/optimized/prism.ll +++ b/bench/ruby/optimized/prism.ll @@ -2469,7 +2469,7 @@ define hidden range(i32 -1, 2) i32 @pm_string_query_local(ptr noundef %0, i64 no switch.lookup: %3 = tail call i32 @pm_slice_type(ptr noundef %0, i64 noundef %1, ptr noundef %2) %switch.tableidx = add nsw i32 %3, 1 - %4 = zext i32 %switch.tableidx to i64 + %4 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table.pm_string_query_local, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -2480,7 +2480,7 @@ define hidden range(i32 -1, 2) i32 @pm_string_query_constant(ptr noundef %0, i64 switch.lookup: %3 = tail call i32 @pm_slice_type(ptr noundef %0, i64 noundef %1, ptr noundef %2) %switch.tableidx = add nsw i32 %3, 1 - %4 = zext i32 %switch.tableidx to i64 + %4 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table.pm_string_query_constant, i64 0, i64 %4 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -34537,7 +34537,7 @@ define internal fastcc void @parse_rescues(ptr noundef %0, i64 noundef %1, ptr n %18 = getelementptr inbounds nuw i8, ptr %3, i64 16 %19 = getelementptr inbounds nuw i8, ptr %3, i64 48 %switch.tableidx = add nsw i32 %4, -1 - %20 = zext i32 %switch.tableidx to i64 + %20 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x i32], ptr @switch.table.parse_rescues, i64 0, i64 %20 br label %21 @@ -34913,7 +34913,7 @@ switch.lookup264: ; preds = %accept2.exit163 %134 = shl i32 %133, 1 store i32 %134, ptr %132, align 4, !tbaa !7 %switch.tableidx265 = add nsw i32 %4, -1 - %135 = zext i32 %switch.tableidx265 to i64 + %135 = zext nneg i32 %switch.tableidx265 to i64 %switch.gep266 = getelementptr inbounds nuw [7 x i32], ptr @switch.table.parse_rescues.123, i64 0, i64 %135 %switch.load267 = load i32, ptr %switch.gep266, align 4 %136 = add i16 %5, 1 @@ -35041,7 +35041,7 @@ switch.lookup268: ; preds = %accept2.exit177 %174 = shl i32 %173, 1 store i32 %174, ptr %172, align 4, !tbaa !7 %switch.tableidx269 = add nsw i32 %4, -1 - %175 = zext i32 %switch.tableidx269 to i64 + %175 = zext nneg i32 %switch.tableidx269 to i64 %switch.gep270 = getelementptr inbounds nuw [7 x i32], ptr @switch.table.parse_rescues.124, i64 0, i64 %175 %switch.load271 = load i32, ptr %switch.gep270, align 4 %176 = add i16 %5, 1 @@ -44703,7 +44703,7 @@ define internal fastcc noundef nonnull ptr @context_human(i32 noundef range(i32 switch.lookup: ; preds = %1 %switch.tableidx = add i32 %0, -1 - %3 = zext i32 %switch.tableidx to i64 + %3 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [53 x ptr], ptr @switch.table.context_human, i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 br label %4 diff --git a/bench/tls-rs/optimized/59h61akxu6z29dlt.ll b/bench/tls-rs/optimized/59h61akxu6z29dlt.ll index 296ae073acf..b33d477afc3 100644 --- a/bench/tls-rs/optimized/59h61akxu6z29dlt.ll +++ b/bench/tls-rs/optimized/59h61akxu6z29dlt.ll @@ -3559,10 +3559,10 @@ define { ptr, ptr } @"_ZN77_$LT$rustls..error..other_error..OtherError$u20$as$u2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define hidden { ptr, i64 } @_ZN6rustls5tls1312key_schedule10SecretKind8to_bytes17h6907f9723add07d8E.llvm.3875224068774112026(i8 noundef %0) unnamed_addr #4 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026, i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026.51, i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -6775,10 +6775,10 @@ switch.lookup: %9 = load ptr, ptr %1, align 8, !nonnull !4, !align !11, !noundef !4 %10 = getelementptr inbounds nuw i8, ptr %1, i64 8 %11 = load ptr, ptr %10, align 8, !nonnull !4, !align !5, !noundef !4 - %12 = zext i8 %2 to i64 + %12 = zext nneg i8 %2 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026, i64 0, i64 %12 %switch.load = load ptr, ptr %switch.gep, align 8 - %13 = zext i8 %2 to i64 + %13 = zext nneg i8 %2 to i64 %switch.gep1 = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026.51, i64 0, i64 %13 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !1771) @@ -6845,10 +6845,10 @@ switch.lookup: %13 = load ptr, ptr %1, align 8, !alias.scope !1793, !noalias !1796, !nonnull !4, !align !11, !noundef !4 %14 = getelementptr inbounds nuw i8, ptr %1, i64 8 %15 = load ptr, ptr %14, align 8, !alias.scope !1793, !noalias !1796, !nonnull !4, !align !5, !noundef !4 - %16 = zext i8 %2 to i64 + %16 = zext nneg i8 %2 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026, i64 0, i64 %16 %switch.load = load ptr, ptr %switch.gep, align 8 - %17 = zext i8 %2 to i64 + %17 = zext nneg i8 %2 to i64 %switch.gep7 = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026.51, i64 0, i64 %17 %switch.load8 = load i64, ptr %switch.gep7, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !1799) @@ -7004,10 +7004,10 @@ define hidden void @_ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empt %26 = load ptr, ptr %1, align 8, !alias.scope !1843, !noalias !1846, !nonnull !4, !align !11, !noundef !4 %27 = getelementptr inbounds nuw i8, ptr %1, i64 8 %28 = load ptr, ptr %27, align 8, !alias.scope !1843, !noalias !1846, !nonnull !4, !align !5, !noundef !4 - %29 = zext i8 %2 to i64 + %29 = zext nneg i8 %2 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026, i64 0, i64 %29 %switch.load = load ptr, ptr %switch.gep, align 8 - %30 = zext i8 %2 to i64 + %30 = zext nneg i8 %2 to i64 %switch.gep1 = getelementptr inbounds nuw [9 x i64], ptr @switch.table._ZN6rustls5tls1312key_schedule11KeySchedule21derive_for_empty_hash17hbca0ec443c98979bE.llvm.3875224068774112026.51, i64 0, i64 %30 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !1849) @@ -17393,7 +17393,7 @@ switch.lookup: %19 = alloca { [64 x i8], i64 }, align 8 %20 = alloca { { ptr, ptr }, { [64 x i8], i64 }, { [64 x i8], i64 }, ptr, i8, i8, [6 x i8] }, align 8 %21 = alloca { ptr, ptr }, align 8 - %22 = zext i8 %1 to i64 + %22 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @switch.table._ZN6rustls4quic4Keys7initial17h883688817a2eafd3E, i64 0, i64 %22 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) diff --git a/bench/typst-rs/optimized/1ru1rhojhbz2vfey.ll b/bench/typst-rs/optimized/1ru1rhojhbz2vfey.ll index 8ddfb3df43b..e2a7a9da578 100644 --- a/bench/typst-rs/optimized/1ru1rhojhbz2vfey.ll +++ b/bench/typst-rs/optimized/1ru1rhojhbz2vfey.ll @@ -68573,7 +68573,7 @@ define hidden void @"_ZN96_$LT$typst..foundations..auto..Smart$LT$T$GT$$u20$as$u switch.lookup: ; preds = %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !13552) - %5 = zext i8 %1 to i64 + %5 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN96_$LT$typst..foundations..auto..Smart$LT$T$GT$$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17haa6c14baef1f9db1E", i64 0, i64 %5 %switch.load = load ptr, ptr %switch.gep, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !13555) @@ -69102,7 +69102,7 @@ define hidden void @"_ZN96_$LT$typst..foundations..auto..Smart$LT$T$GT$$u20$as$u switch.lookup: ; preds = %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !13642) - %5 = zext i8 %1 to i64 + %5 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN96_$LT$typst..foundations..auto..Smart$LT$T$GT$$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17heb8bd3992bc8a67dE", i64 0, i64 %5 %switch.load = load ptr, ptr %switch.gep, align 8 %switch.idx.cast = zext i8 %1 to i64 @@ -80734,10 +80734,10 @@ define hidden void @"_ZN5typst11foundations4none95_$LT$impl$u20$typst..foundatio switch.lookup: ; preds = %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !15821) - %5 = zext i8 %1 to i64 + %5 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN5typst11foundations4none95_$LT$impl$u20$typst..foundations..cast..IntoValue$u20$for$u20$core..option..Option$LT$T$GT$$GT$10into_value17h61597f4083cfc329E", i64 0, i64 %5 %switch.load = load ptr, ptr %switch.gep, align 8 - %6 = zext i8 %1 to i64 + %6 = zext nneg i8 %1 to i64 %switch.gep2 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN5typst11foundations4none95_$LT$impl$u20$typst..foundations..cast..IntoValue$u20$for$u20$core..option..Option$LT$T$GT$$GT$10into_value17h61597f4083cfc329E.528", i64 0, i64 %6 %switch.load3 = load i64, ptr %switch.gep2, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !15824) @@ -93962,7 +93962,7 @@ define noundef double @_ZN5typst6layout3abs3Abs3raw17h9c9860891736cbb5E(double n ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef double @_ZN5typst6layout3abs3Abs9with_unit17he1c3205cf673858fE(double noundef %0, i8 noundef %1) unnamed_addr #2 { switch.lookup: - %2 = zext i8 %1 to i64 + %2 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [4 x double], ptr @switch.table._ZN5typst6layout3abs7AbsUnit9raw_scale17hb23d6c3d0026c236E.llvm.13383457361836014260, i64 0, i64 %2 %switch.load = load double, ptr %switch.gep, align 8 %3 = fmul double %0, %switch.load @@ -94010,7 +94010,7 @@ define noundef double @_ZN5typst6layout3abs3Abs6to_raw17h5852c1581d7c8b39E(doubl ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef double @_ZN5typst6layout3abs3Abs7to_unit17hd6477d52ad93be5eE(double noundef %0, i8 noundef %1) unnamed_addr #2 { switch.lookup: - %2 = zext i8 %1 to i64 + %2 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [4 x double], ptr @switch.table._ZN5typst6layout3abs7AbsUnit9raw_scale17hb23d6c3d0026c236E.llvm.13383457361836014260, i64 0, i64 %2 %switch.load = load double, ptr %switch.gep, align 8 %3 = fdiv double %0, %switch.load @@ -94297,7 +94297,7 @@ define noundef double @"_ZN76_$LT$typst..layout..abs..Abs$u20$as$u20$typst..foun ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define hidden noundef double @_ZN5typst6layout3abs7AbsUnit9raw_scale17hb23d6c3d0026c236E.llvm.13383457361836014260(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x double], ptr @switch.table._ZN5typst6layout3abs7AbsUnit9raw_scale17hb23d6c3d0026c236E.llvm.13383457361836014260, i64 0, i64 %1 %switch.load = load double, ptr %switch.gep, align 8 ret double %switch.load @@ -130258,10 +130258,10 @@ _ZN4core3cmp9PartialEq2ne17h60d9bcdda25a175aE.llvm.13383457361836014260.exit.i.i ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout4grid1_6Fields6to_str17h64a41c5202caa18cE(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h87e001db371f70b0E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [9 x i64], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h87e001db371f70b0E.530", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -142241,10 +142241,10 @@ define void @"_ZN5typst6layout4grid1_97_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout4grid1_6Fields6to_str17hedaeb740fed396f2E(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h7890ea0112fd30a1E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h060e9fb9a2493c40E.534", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -146248,10 +146248,10 @@ define void @"_ZN5typst6layout4grid1_96_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout4grid1_6Fields6to_str17h40948d7a0d9e63c6E(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h060e9fb9a2493c40E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h060e9fb9a2493c40E.534", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -150276,10 +150276,10 @@ define void @"_ZN5typst6layout4grid1_96_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout4grid1_6Fields6to_str17hf0ea9299af0b86abE(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x ptr], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hcbc60c3a491d262dE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [10 x i64], ptr @"switch.table._ZN69_$LT$typst..layout..grid.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hcbc60c3a491d262dE.536", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -158482,10 +158482,10 @@ define hidden void @"_ZN70_$LT$typst..layout..spacing..Spacing$u20$as$u20$core.. ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4math6cancel1_6Fields6to_str17h08816fa6be316931E(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @"switch.table._ZN69_$LT$typst..math..cancel.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h025464348456c737E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [6 x i64], ptr @"switch.table._ZN69_$LT$typst..math..cancel.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h025464348456c737E.538", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -164230,10 +164230,10 @@ common.resume: ; preds = %.body, %17 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model12bibliography1_6Fields6to_str17h5aedf2dc8d2e091eE(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN76_$LT$typst..model..bibliography.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hd138327a16ef7c81E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN76_$LT$typst..model..bibliography.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hd138327a16ef7c81E.543", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -168610,10 +168610,10 @@ common.resume: ; preds = %7, %12 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model4cite1_6Fields6to_str17h0d92883c6578e9b6E(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @"switch.table._ZN68_$LT$typst..model..cite.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hfa2f736ae363de91E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [6 x i64], ptr @"switch.table._ZN68_$LT$typst..model..cite.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hfa2f736ae363de91E.545", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -173067,10 +173067,10 @@ define internal noundef zeroext i1 @"_ZN66_$LT$typst..model..cite..CiteGroup$u20 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model8document1_6Fields6to_str17h370113d65079cf42E(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN72_$LT$typst..model..document.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h0afc413b6d480af2E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN72_$LT$typst..model..document.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h0afc413b6d480af2E.548", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -175855,10 +175855,10 @@ default.unreachable4: ; preds = %16, %2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model5quote1_6Fields6to_str17h5c21f3e04f4e9c30E(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN69_$LT$typst..model..quote.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hcb148bb0caf38f16E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN69_$LT$typst..model..quote.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hcb148bb0caf38f16E.550", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -180568,10 +180568,10 @@ default.unreachable1: ; preds = %2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst9visualize4path1_6Fields6to_str17hc306dda8bc8b9d40E(i8 noundef %0) unnamed_addr #2 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @"switch.table._ZN72_$LT$typst..visualize..path.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha110e95fd1027066E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [4 x i64], ptr @"switch.table._ZN72_$LT$typst..visualize..path.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha110e95fd1027066E.552", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -189071,10 +189071,10 @@ define noundef zeroext i1 @"_ZN86_$LT$typst..model..cite..CitationForm$u20$as$u2 define void @"_ZN88_$LT$typst..model..cite..CitationForm$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h144137f85823c366E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #0 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN88_$LT$typst..model..cite..CitationForm$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h144137f85823c366E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN88_$LT$typst..model..cite..CitationForm$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h144137f85823c366E.553", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !42231) diff --git a/bench/typst-rs/optimized/3rk2ctuzbghb17s4.ll b/bench/typst-rs/optimized/3rk2ctuzbghb17s4.ll index 868668e6b2a..1ac0011f25e 100644 --- a/bench/typst-rs/optimized/3rk2ctuzbghb17s4.ll +++ b/bench/typst-rs/optimized/3rk2ctuzbghb17s4.ll @@ -110229,10 +110229,10 @@ define void @"_ZN5typst13introspection7counter1_114_$LT$impl$u20$typst..foundati ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst13introspection7counter1_6Fields6to_str17he74a48a3ce622451E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN79_$LT$typst..introspection..counter.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h00e973848b180829E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN79_$LT$typst..introspection..counter.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h00e973848b180829E.694", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -116179,10 +116179,10 @@ define void @"_ZN88_$LT$typst..layout..length..Length$u20$as$u20$core..ops..arit ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout9transform1_6Fields6to_str17hca92c9b2c575fa0fE(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN74_$LT$typst..layout..transform.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h72f2619b766ee9ceE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN74_$LT$typst..layout..transform.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h72f2619b766ee9ceE.696", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -118371,10 +118371,10 @@ define void @"_ZN5typst6layout9transform1_100_$LT$impl$u20$typst..foundations..c ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout9transform1_6Fields6to_str17h7d960ca0da79ad92E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @"switch.table._ZN74_$LT$typst..layout..transform.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h2525346758aa7054E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [4 x i64], ptr @"switch.table._ZN74_$LT$typst..layout..transform.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h2525346758aa7054E.698", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -120900,10 +120900,10 @@ define void @"_ZN5typst6layout9transform1_102_$LT$impl$u20$typst..foundations..c ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout9transform1_6Fields6to_str17h8eb94504d9aa318eE(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN74_$LT$typst..layout..transform.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha6345d25321a5870E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN74_$LT$typst..layout..transform.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha6345d25321a5870E.700", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -123977,10 +123977,10 @@ define void @"_ZN5typst6layout9transform1_101_$LT$impl$u20$typst..foundations..c ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4math6accent1_6Fields6to_str17hccff2a373c3b8a12E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN69_$LT$typst..math..accent.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h83482f8301b679fdE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN77_$LT$typst..eval..EvalMode$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h15a47f6251b0b7d8E.715", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -125807,10 +125807,10 @@ define void @"_ZN5typst4math6accent1_97_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4math8equation1_6Fields6to_str17h50128e9c902aca4aE(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [11 x ptr], ptr @"switch.table._ZN71_$LT$typst..math..equation.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hcd707f1ec94526ceE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [11 x i64], ptr @"switch.table._ZN71_$LT$typst..math..equation.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hcd707f1ec94526ceE.704", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -136235,10 +136235,10 @@ define noundef nonnull align 8 ptr @"_ZN84_$LT$typst..math..style..sscript$u20$a ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model6figure1_6Fields6to_str17h5c2e7f54718539b8E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @"switch.table._ZN70_$LT$typst..model..figure.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17he60b758292b589c6E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [9 x i64], ptr @"switch.table._ZN70_$LT$typst..model..figure.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17he60b758292b589c6E.706", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -143417,10 +143417,10 @@ define void @"_ZN5typst5model6figure1_98_$LT$impl$u20$typst..foundations..cast.. ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model6figure1_6Fields6to_str17h29ab45df5e91f856E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @"switch.table._ZN70_$LT$typst..model..figure.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hbbd54a650d85a1abE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [8 x i64], ptr @"switch.table._ZN70_$LT$typst..model..figure.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hbbd54a650d85a1abE.708", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -149129,10 +149129,10 @@ define hidden noundef zeroext i1 @"_ZN77_$LT$typst..model..footnote..FootnoteBod ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model8footnote1_6Fields6to_str17had4cc2d78d0fc2c0E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN72_$LT$typst..model..footnote.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hc548995e5fa0b0f8E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN72_$LT$typst..model..footnote.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hc548995e5fa0b0f8E.710", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -152744,10 +152744,10 @@ define void @"_ZN5typst5model8footnote1_103_$LT$impl$u20$typst..foundations..cas ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model7heading1_6Fields6to_str17ha329a64ca5f95ed0E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @"switch.table._ZN71_$LT$typst..model..heading.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h547117037e2489b5E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [8 x i64], ptr @"switch.table._ZN71_$LT$typst..model..heading.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h547117037e2489b5E.712", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -159679,10 +159679,10 @@ define noundef zeroext i1 @"_ZN85_$LT$typst..math..style..MathVariant$u20$as$u20 define void @"_ZN87_$LT$typst..math..style..MathVariant$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h184cc010506d69b5E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #5 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @"switch.table._ZN87_$LT$typst..math..style..MathVariant$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h184cc010506d69b5E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [6 x i64], ptr @"switch.table._ZN87_$LT$typst..math..style..MathVariant$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h184cc010506d69b5E.713", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !41380) @@ -160082,10 +160082,10 @@ define noundef zeroext i1 @"_ZN82_$LT$typst..math..style..MathSize$u20$as$u20$ty define void @"_ZN84_$LT$typst..math..style..MathSize$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he2f3a423132067ebE"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #5 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @"switch.table._ZN84_$LT$typst..math..style..MathSize$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he2f3a423132067ebE", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [4 x i64], ptr @"switch.table._ZN84_$LT$typst..math..style..MathSize$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he2f3a423132067ebE.714", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !41479) @@ -168817,10 +168817,10 @@ define noundef zeroext i1 @"_ZN75_$LT$typst..eval..EvalMode$u20$as$u20$typst..fo define void @"_ZN77_$LT$typst..eval..EvalMode$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h15a47f6251b0b7d8E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #5 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN77_$LT$typst..eval..EvalMode$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h15a47f6251b0b7d8E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN77_$LT$typst..eval..EvalMode$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h15a47f6251b0b7d8E.715", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !43050) diff --git a/bench/typst-rs/optimized/49m3cs7hus53ztof.ll b/bench/typst-rs/optimized/49m3cs7hus53ztof.ll index 379cffbc7bc..2e357dd7f84 100644 --- a/bench/typst-rs/optimized/49m3cs7hus53ztof.ll +++ b/bench/typst-rs/optimized/49m3cs7hus53ztof.ll @@ -69297,10 +69297,10 @@ define hidden noundef range(i8 -1, 2) i8 @"_ZN58_$LT$typst..layout..abs..Abs$u20 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout7columns1_6Fields6to_str17h84146d67f6e3b009E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN72_$LT$typst..layout..columns.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h7facdfe28588d5e3E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN72_$LT$typst..layout..columns.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h7facdfe28588d5e3E.535", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -72346,10 +72346,10 @@ define internal noundef zeroext i1 @"_ZN71_$LT$typst..layout..layout_..LayoutEle ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout3pad1_6Fields6to_str17haeedbde8931c6268E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN68_$LT$typst..layout..pad.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h30822bfa36774704E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN68_$LT$typst..layout..pad.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h30822bfa36774704E.537", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -76262,10 +76262,10 @@ define void @"_ZN5typst6layout3pad1_93_$LT$impl$u20$typst..foundations..cast..In ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout4page1_6Fields6to_str17h685566e0aff4228aE(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [17 x ptr], ptr @"switch.table._ZN69_$LT$typst..layout..page.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h668a46838a05e379E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [17 x i64], ptr @"switch.table._ZN69_$LT$typst..layout..page.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h668a46838a05e379E.539", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -91103,10 +91103,10 @@ define void @"_ZN73_$LT$typst..layout..page..Paper$u20$as$u20$core..str..traits. ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst6layout5place1_6Fields6to_str17h2c1bf0e3cf6a85f9E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @"switch.table._ZN70_$LT$typst..layout..place.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17he45c8c5ba54f949cE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [6 x i64], ptr @"switch.table._ZN70_$LT$typst..layout..place.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17he45c8c5ba54f949cE.541", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -96044,10 +96044,10 @@ define noundef nonnull align 8 ptr @"_ZN84_$LT$typst..loading..yaml_..yaml$u20$a ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model5enum_1_6Fields6to_str17hfdaaf3958c9a5414E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x ptr], ptr @"switch.table._ZN69_$LT$typst..model..enum_.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h6b568e8aaa173a8fE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [10 x i64], ptr @"switch.table._ZN69_$LT$typst..model..enum_.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h6b568e8aaa173a8fE.543", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -103500,10 +103500,10 @@ _ZN4core3cmp9PartialEq2ne17hb530f2994181e04fE.llvm.12850028421071809815.exit.i.i ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst9visualize5image1_6Fields6to_str17h0d83e15722aaf388E(i8 noundef %0) unnamed_addr #9 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN73_$LT$typst..visualize..image.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h913dbf583b9f11acE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN73_$LT$typst..visualize..image.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h913dbf583b9f11acE.545", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -112030,7 +112030,7 @@ define noundef zeroext i1 @"_ZN88_$LT$typst..visualize..stroke..LineJoin$u20$as$ define void @"_ZN90_$LT$typst..visualize..stroke..LineJoin$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17ha4b03c4dfe13fdd6E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #4 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN90_$LT$typst..visualize..stroke..LineJoin$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17ha4b03c4dfe13fdd6E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !24748) @@ -112348,7 +112348,7 @@ define noundef zeroext i1 @"_ZN87_$LT$typst..visualize..stroke..LineCap$u20$as$u define void @"_ZN89_$LT$typst..visualize..stroke..LineCap$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h465349e7925607fcE"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #4 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN89_$LT$typst..visualize..stroke..LineCap$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h465349e7925607fcE", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 %switch.idx.cast = zext i8 %1 to i64 @@ -114696,10 +114696,10 @@ define noundef zeroext i1 @"_ZN87_$LT$typst..visualize..image..ImageFit$u20$as$u define void @"_ZN89_$LT$typst..visualize..image..ImageFit$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h2fda6452b8725d74E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #4 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN89_$LT$typst..visualize..image..ImageFit$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h2fda6452b8725d74E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN89_$LT$typst..visualize..image..ImageFit$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h2fda6452b8725d74E.549", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !25158) diff --git a/bench/typst-rs/optimized/4qskctz4kwc33g7b.ll b/bench/typst-rs/optimized/4qskctz4kwc33g7b.ll index b5575492b78..9595281b223 100644 --- a/bench/typst-rs/optimized/4qskctz4kwc33g7b.ll +++ b/bench/typst-rs/optimized/4qskctz4kwc33g7b.ll @@ -74906,7 +74906,7 @@ switch.lookup: ; preds = %69 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) call void @llvm.experimental.noalias.scope.decl(metadata !16546) %switch.tableidx = add nsw i8 %68, -1 - %73 = zext i8 %switch.tableidx to i64 + %73 = zext nneg i8 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN92_$LT$typst..visualize..gradient..ConicGradient$u20$as$u20$typst..foundations..repr..Repr$GT$4repr17h7ccbb2d7afd9a591E", i64 0, i64 %73 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.experimental.noalias.scope.decl(metadata !16549) @@ -75774,7 +75774,7 @@ switch.lookup: ; preds = %202 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) call void @llvm.experimental.noalias.scope.decl(metadata !16826) %switch.tableidx = add nsw i8 %181, -1 - %206 = zext i8 %switch.tableidx to i64 + %206 = zext nneg i8 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN92_$LT$typst..visualize..gradient..ConicGradient$u20$as$u20$typst..foundations..repr..Repr$GT$4repr17h7ccbb2d7afd9a591E", i64 0, i64 %206 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.experimental.noalias.scope.decl(metadata !16829) @@ -76425,7 +76425,7 @@ switch.lookup: ; preds = %109 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) call void @llvm.experimental.noalias.scope.decl(metadata !17020) %switch.tableidx = add nsw i8 %66, -1 - %113 = zext i8 %switch.tableidx to i64 + %113 = zext nneg i8 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN92_$LT$typst..visualize..gradient..ConicGradient$u20$as$u20$typst..foundations..repr..Repr$GT$4repr17h7ccbb2d7afd9a591E", i64 0, i64 %113 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.experimental.noalias.scope.decl(metadata !17023) @@ -142159,10 +142159,10 @@ define void @"_ZN5typst4text5space1_95_$LT$impl$u20$typst..foundations..cast..In ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4text1_6Fields6to_str17he9eca18e9a7cf6c7E(i8 noundef %0) unnamed_addr #6 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [38 x ptr], ptr @"switch.table._ZN61_$LT$typst..text.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha4226ae2f3d6779cE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [38 x i64], ptr @"switch.table._ZN61_$LT$typst..text.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha4226ae2f3d6779cE.568", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -146885,10 +146885,10 @@ _ZN5typst11foundations6styles10StyleChain3get17h69104785c0cb1b35E.exit: ; preds br i1 %trunc.i, label %"_ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E.exit", label %switch.lookup switch.lookup: ; preds = %_ZN5typst11foundations6styles10StyleChain3get17h69104785c0cb1b35E.exit - %339 = zext i8 %.sroa.5355.1.copyload to i64 + %339 = zext nneg i8 %.sroa.5355.1.copyload to i64 %switch.gep533 = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E", i64 0, i64 %339 %switch.load534 = load ptr, ptr %switch.gep533, align 8 - %340 = zext i8 %.sroa.5355.1.copyload to i64 + %340 = zext nneg i8 %.sroa.5355.1.copyload to i64 %switch.gep535 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E.584", i64 0, i64 %340 %switch.load536 = load i64, ptr %switch.gep535, align 8 br label %341 @@ -146996,10 +146996,10 @@ _ZN5typst11foundations6styles10StyleChain3get17h304bd1c00c63f628E.exit: ; preds br i1 %trunc.i111, label %"_ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E.exit", label %switch.lookup537 switch.lookup537: ; preds = %_ZN5typst11foundations6styles10StyleChain3get17h304bd1c00c63f628E.exit - %366 = zext i8 %.sroa.5364.1.copyload to i64 + %366 = zext nneg i8 %.sroa.5364.1.copyload to i64 %switch.gep538 = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E", i64 0, i64 %366 %switch.load539 = load ptr, ptr %switch.gep538, align 8 - %367 = zext i8 %.sroa.5364.1.copyload to i64 + %367 = zext nneg i8 %.sroa.5364.1.copyload to i64 %switch.gep540 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E.582", i64 0, i64 %367 %switch.load541 = load i64, ptr %switch.gep540, align 8 br label %368 @@ -149386,10 +149386,10 @@ _ZN5typst11foundations6styles10StyleChain3get17hf8c6c823ef9b86a5E.exit: ; preds br i1 %trunc.i, label %"_ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E.exit", label %switch.lookup switch.lookup: ; preds = %_ZN5typst11foundations6styles10StyleChain3get17hf8c6c823ef9b86a5E.exit - %338 = zext i8 %.sroa.5355.1.copyload to i64 + %338 = zext nneg i8 %.sroa.5355.1.copyload to i64 %switch.gep525 = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E", i64 0, i64 %338 %switch.load526 = load ptr, ptr %switch.gep525, align 8 - %339 = zext i8 %.sroa.5355.1.copyload to i64 + %339 = zext nneg i8 %.sroa.5355.1.copyload to i64 %switch.gep527 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E.584", i64 0, i64 %339 %switch.load528 = load i64, ptr %switch.gep527, align 8 br label %340 @@ -149497,10 +149497,10 @@ _ZN5typst11foundations6styles10StyleChain3get17h75c948b8c18a6162E.exit: ; preds br i1 %trunc.i111, label %"_ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E.exit", label %switch.lookup529 switch.lookup529: ; preds = %_ZN5typst11foundations6styles10StyleChain3get17h75c948b8c18a6162E.exit - %365 = zext i8 %.sroa.5364.1.copyload to i64 + %365 = zext nneg i8 %.sroa.5364.1.copyload to i64 %switch.gep530 = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E", i64 0, i64 %365 %switch.load531 = load ptr, ptr %switch.gep530, align 8 - %366 = zext i8 %.sroa.5364.1.copyload to i64 + %366 = zext nneg i8 %.sroa.5364.1.copyload to i64 %switch.gep532 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E.582", i64 0, i64 %366 %switch.load533 = load i64, ptr %switch.gep532, align 8 br label %367 @@ -165664,10 +165664,10 @@ define noundef zeroext i1 @"_ZN83_$LT$typst..text..BottomEdgeMetric$u20$as$u20$t define void @"_ZN85_$LT$typst..text..BottomEdgeMetric$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h2b033b806f3bcc01E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #2 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN79_$LT$typst..text..BottomEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he445d7c4aad4d611E.582", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !40085) @@ -166394,10 +166394,10 @@ define noundef zeroext i1 @"_ZN80_$LT$typst..text..TopEdgeMetric$u20$as$u20$typs define void @"_ZN82_$LT$typst..text..TopEdgeMetric$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h52b13cb41bde50ecE"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #2 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN76_$LT$typst..text..TopEdge$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17he509a5e7b15e0c21E.584", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !40247) diff --git a/bench/typst-rs/optimized/59tuvc5m3xlovl3o.ll b/bench/typst-rs/optimized/59tuvc5m3xlovl3o.ll index a2fe3b1b3c2..6a825579ac5 100644 --- a/bench/typst-rs/optimized/59tuvc5m3xlovl3o.ll +++ b/bench/typst-rs/optimized/59tuvc5m3xlovl3o.ll @@ -89681,10 +89681,10 @@ define internal noundef zeroext i1 @"_ZN72_$LT$typst..math..matrix..AugmentOffse ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model7outline1_6Fields6to_str17h23eda023a2c5d5f7E(i8 noundef %0) unnamed_addr #13 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN71_$LT$typst..model..outline.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h331d755398a42f6eE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN71_$LT$typst..model..outline.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h331d755398a42f6eE.472", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -94309,10 +94309,10 @@ define void @"_ZN5typst5model7outline1_100_$LT$impl$u20$typst..foundations..cast ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model7outline1_6Fields6to_str17he7688538d6b1dd1cE(i8 noundef %0) unnamed_addr #13 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN71_$LT$typst..model..outline.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha223c4e133b0cf44E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN71_$LT$typst..model..outline.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17ha223c4e133b0cf44E.474", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -96129,10 +96129,10 @@ define void @"_ZN5typst5model7outline1_101_$LT$impl$u20$typst..foundations..cast ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model5table1_6Fields6to_str17h4d9dd2fd762fd92eE(i8 noundef %0) unnamed_addr #13 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x ptr], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hc9c5b46eaaec1734E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [9 x i64], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hc9c5b46eaaec1734E.476", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -109473,10 +109473,10 @@ define void @"_ZN5typst5model5table1_98_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model5table1_6Fields6to_str17h742be099511d7c14E(i8 noundef %0) unnamed_addr #13 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h69eb6e6be11f6ad9E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h83c150e2a8f3da70E.480", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -113202,10 +113202,10 @@ define void @"_ZN5typst5model5table1_97_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model5table1_6Fields6to_str17h254c4733e3be3f66E(i8 noundef %0) unnamed_addr #13 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h83c150e2a8f3da70E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h83c150e2a8f3da70E.480", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -116944,10 +116944,10 @@ define void @"_ZN5typst5model5table1_97_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model5table1_6Fields6to_str17h2766ae301904561cE(i8 noundef %0) unnamed_addr #13 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [10 x ptr], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h0495626447a7b2a4E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [10 x i64], ptr @"switch.table._ZN69_$LT$typst..model..table.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h0495626447a7b2a4E.482", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -128967,10 +128967,10 @@ define noundef zeroext i1 @"_ZN91_$LT$typst..text..font..VerticalFontMetric$u20$ define void @"_ZN93_$LT$typst..text..font..VerticalFontMetric$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h89585526d0803071E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #7 { switch.lookup: %2 = alloca { i8, [16 x i8] }, align 1 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN93_$LT$typst..text..font..VerticalFontMetric$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h89585526d0803071E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN93_$LT$typst..text..font..VerticalFontMetric$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h89585526d0803071E.483", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !27695) diff --git a/bench/typst-rs/optimized/d6l9ieo9tcw33dn.ll b/bench/typst-rs/optimized/d6l9ieo9tcw33dn.ll index 6ac05a5204d..5b6f284884d 100644 --- a/bench/typst-rs/optimized/d6l9ieo9tcw33dn.ll +++ b/bench/typst-rs/optimized/d6l9ieo9tcw33dn.ll @@ -13335,7 +13335,7 @@ common.resume.i: ; preds = %44, %21 br label %"_ZN5typst9visualize5color5Color10space_data4DATA28_$u7b$$u7b$closure$u7d$$u7d$17h0b0d7ba6a23de547E.exit" switch.lookup: ; preds = %27 - %41 = zext i32 %.sroa.011.0.copyload.i.i to i64 + %41 = zext nneg i32 %.sroa.011.0.copyload.i.i to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @switch.table._ZN4core3ops8function6FnOnce9call_once17h36e9678a2afe1f1cE, i64 0, i64 %41 %switch.load = load ptr, ptr %switch.gep, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !2701 @@ -64707,7 +64707,7 @@ _ZN5typst4math8fragment13GlyphFragment3new17ha82d380105918fa6E.exit395: ; preds ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define hidden noundef range(i32 40, 8215) i32 @_ZN5typst4math6matrix9Delimiter4open17hb57fac189785d6efE(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5typst4math6matrix9Delimiter4open17hb57fac189785d6efE, i64 0, i64 %1 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -64716,7 +64716,7 @@ switch.lookup: ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define hidden noundef range(i32 41, 8215) i32 @_ZN5typst4math6matrix9Delimiter5close17hd4ea37fcf7a6cf01E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x i32], ptr @switch.table._ZN5typst4math6matrix9Delimiter5close17hd4ea37fcf7a6cf01E, i64 0, i64 %1 %switch.load = load i32, ptr %switch.gep, align 4 ret i32 %switch.load @@ -79497,7 +79497,7 @@ define void @"_ZN90_$LT$typst..text..font..variant..FontStretch$u20$as$u20$typst ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef range(i16 500, 2001) i16 @"_ZN115_$LT$typst..text..font..variant..FontStretch$u20$as$u20$core..convert..From$LT$usvg_tree..text..FontStretch$GT$$GT$4from17hbd00d5a705abbe53E"(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [9 x i16], ptr @"switch.table._ZN115_$LT$typst..text..font..variant..FontStretch$u20$as$u20$core..convert..From$LT$usvg_tree..text..FontStretch$GT$$GT$4from17hbd00d5a705abbe53E", i64 0, i64 %1 %switch.load = load i16, ptr %switch.gep, align 2 ret i16 %switch.load @@ -114211,10 +114211,10 @@ define internal fastcc void @"_ZN75_$LT$typst..layout..sides..Sides$LT$T$GT$$u20 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4math6attach1_6Fields6to_str17haa7c833df9c0b1c5E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN69_$LT$typst..math..attach.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17he953de5f6f20d384E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN69_$LT$typst..math..attach.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17he953de5f6f20d384E.772", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -124901,10 +124901,10 @@ define void @"_ZN5typst4math4frac1_94_$LT$impl$u20$typst..foundations..cast..Int ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4math6matrix1_6Fields6to_str17h7866851df4c85168E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN69_$LT$typst..math..matrix.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h4ebfb5950324d3b3E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN69_$LT$typst..math..matrix.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h4ebfb5950324d3b3E.774", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -127144,10 +127144,10 @@ define void @"_ZN5typst4math6matrix1_94_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4math6matrix1_6Fields6to_str17h6d09f06817266692E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN69_$LT$typst..math..matrix.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h2c321388cd376e7cE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN69_$LT$typst..math..matrix.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h2c321388cd376e7cE.776", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -131732,10 +131732,10 @@ define void @"_ZN5typst4math6matrix1_94_$LT$impl$u20$typst..foundations..cast..I ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4math6matrix1_6Fields6to_str17hbf684b38307b42e9E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [4 x ptr], ptr @"switch.table._ZN69_$LT$typst..math..matrix.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h74eb21178e143051E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [4 x i64], ptr @"switch.table._ZN69_$LT$typst..math..matrix.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h74eb21178e143051E.778", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -134574,10 +134574,10 @@ common.resume: ; preds = %.body, %17 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst5model5terms1_6Fields6to_str17h44bf2fe7dbb1f8c7E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @"switch.table._ZN69_$LT$typst..model..terms.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hd8dc6bf7c416cbb3E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [6 x i64], ptr @"switch.table._ZN69_$LT$typst..model..terms.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hd8dc6bf7c416cbb3E.780", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -139929,10 +139929,10 @@ define noundef nonnull align 8 ptr @"_ZN81_$LT$typst..text..case..upper$u20$as$u ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4text4deco1_6Fields6to_str17hfcf81cce1ab763e6E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h4ce166c3118f4d8eE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [6 x i64], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h4ce166c3118f4d8eE.784", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -143899,10 +143899,10 @@ define void @"_ZN5typst4text4deco1_98_$LT$impl$u20$typst..foundations..cast..Int ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4text4deco1_6Fields6to_str17hdef773a4451765bcE(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [6 x ptr], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h4ce166c3118f4d8eE", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [6 x i64], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h4ce166c3118f4d8eE.784", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -147869,10 +147869,10 @@ define void @"_ZN5typst4text4deco1_97_$LT$impl$u20$typst..foundations..cast..Int ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4text4deco1_6Fields6to_str17hd49c3234cea84cb7E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hf22c616f9da37229E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hf22c616f9da37229E.786", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -151415,10 +151415,10 @@ define void @"_ZN5typst4text4deco1_95_$LT$impl$u20$typst..foundations..cast..Int ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst4text4deco1_6Fields6to_str17h1b311ec0c1e508feE(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hffa4044029f91650E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN67_$LT$typst..text..deco.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hffa4044029f91650E.788", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -156650,10 +156650,10 @@ define internal fastcc noundef zeroext i1 @"_ZN64_$LT$typst..text..BottomEdge$u2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst9visualize4line1_6Fields6to_str17h42c19611628e22d7E(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN72_$LT$typst..visualize..line.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hd62c25bc2f5bd156E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 - %2 = zext i8 %0 to i64 + %2 = zext nneg i8 %0 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN72_$LT$typst..visualize..line.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17hd62c25bc2f5bd156E.791", i64 0, i64 %2 %switch.load2 = load i64, ptr %switch.gep1, align 8 %3 = insertvalue { ptr, i64 } poison, ptr %switch.load, 0 @@ -162175,7 +162175,7 @@ default.unreachable12: ; preds = %33, %22 ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define { ptr, i64 } @_ZN5typst9visualize7polygon1_6Fields6to_str17ha31e1f560d48776bE(i8 noundef %0) unnamed_addr #5 { switch.lookup: - %1 = zext i8 %0 to i64 + %1 = zext nneg i8 %0 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN75_$LT$typst..visualize..polygon.._..Fields$u20$as$u20$core..fmt..Display$GT$3fmt17h0d67ed5b291cc107E", i64 0, i64 %1 %switch.load = load ptr, ptr %switch.gep, align 8 %switch.idx.cast = zext i8 %0 to i64 @@ -166772,7 +166772,7 @@ define noundef zeroext i1 @"_ZN89_$LT$typst..visualize..color..ColorSpace$u20$as define void @"_ZN91_$LT$typst..visualize..color..ColorSpace$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17hc7a60c44e8317284E"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #1 personality ptr @rust_eh_personality { switch.lookup: %2 = alloca { i64, [1 x i64] }, align 8 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [8 x ptr], ptr @"switch.table._ZN91_$LT$typst..visualize..color..ColorSpace$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17hc7a60c44e8317284E", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !35888) @@ -176021,10 +176021,10 @@ define noundef zeroext i1 @"_ZN91_$LT$typst..text..font..variant..FontStyle$u20$ define void @"_ZN93_$LT$typst..text..font..variant..FontStyle$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17hbb6d3c84dacf724eE"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #35 { switch.lookup: %2 = alloca [15 x i8], align 8 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [3 x ptr], ptr @"switch.table._ZN93_$LT$typst..text..font..variant..FontStyle$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17hbb6d3c84dacf724eE", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [3 x i64], ptr @"switch.table._ZN93_$LT$typst..text..font..variant..FontStyle$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17hbb6d3c84dacf724eE.792", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !37276) @@ -178722,10 +178722,10 @@ define noundef zeroext i1 @"_ZN84_$LT$typst..math..matrix..Delimiter$u20$as$u20$ define void @"_ZN86_$LT$typst..math..matrix..Delimiter$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h42edd9e578570f2dE"(ptr noalias noundef writeonly sret({ i8, [31 x i8] }) align 8 captures(none) dereferenceable(32) %0, i8 noundef %1) unnamed_addr #35 { switch.lookup: %2 = alloca [15 x i8], align 8 - %3 = zext i8 %1 to i64 + %3 = zext nneg i8 %1 to i64 %switch.gep = getelementptr inbounds nuw [5 x ptr], ptr @"switch.table._ZN86_$LT$typst..math..matrix..Delimiter$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h42edd9e578570f2dE", i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = zext i8 %1 to i64 + %4 = zext nneg i8 %1 to i64 %switch.gep1 = getelementptr inbounds nuw [5 x i64], ptr @"switch.table._ZN86_$LT$typst..math..matrix..Delimiter$u20$as$u20$typst..foundations..cast..IntoValue$GT$10into_value17h42edd9e578570f2dE.793", i64 0, i64 %4 %switch.load2 = load i64, ptr %switch.gep1, align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !37764) diff --git a/bench/wasmtime-rs/optimized/2ly4gzztxx8hlwxv.ll b/bench/wasmtime-rs/optimized/2ly4gzztxx8hlwxv.ll index 6a7277e87a4..0ffce3b649c 100644 --- a/bench/wasmtime-rs/optimized/2ly4gzztxx8hlwxv.ll +++ b/bench/wasmtime-rs/optimized/2ly4gzztxx8hlwxv.ll @@ -12139,11 +12139,11 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %.sroa.0.0.insert.ext.i.i7041 = zext i32 %.sroa.55514342.0.copyload to i64 %3517 = icmp samesign ugt i16 %.0.i.i.i.i.i, 117 %switch.tableidx = add nsw i8 %trunc20058, -118 - %3518 = zext i8 %switch.tableidx to i64 + %3518 = zext nneg i8 %switch.tableidx to i64 %switch.gep = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %3518 %3519 = icmp samesign ugt i16 %.0.i.i.i.i.i, 117 %switch.tableidx22955 = add nsw i8 %trunc20058, -118 - %3520 = zext i8 %switch.tableidx22955 to i64 + %3520 = zext nneg i8 %switch.tableidx22955 to i64 %switch.gep22956 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %3520 br label %3521 @@ -13325,7 +13325,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i7079: ; pr %3803 = zext nneg i16 %3802 to i32 %3804 = icmp sgt i8 %trunc20060, 117 %switch.tableidx22959 = add nsw i8 %trunc20060, -118 - %3805 = zext i8 %switch.tableidx22959 to i64 + %3805 = zext nneg i8 %switch.tableidx22959 to i64 %switch.gep22960 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %3805 br label %3806 @@ -13921,15 +13921,15 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %.sroa.0.0.insert.ext.i.i7217 = zext i32 %.sroa.55514342.0.copyload to i64 %3971 = icmp samesign ugt i16 %.0.i.i.i.i.i7251, 117 %switch.tableidx22967 = add nsw i8 %trunc20053, -118 - %3972 = zext i8 %switch.tableidx22967 to i64 + %3972 = zext nneg i8 %switch.tableidx22967 to i64 %switch.gep22968 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %3972 %3973 = icmp samesign ugt i16 %.0.i.i.i.i.i7251, 117 %switch.tableidx22971 = add nsw i8 %trunc20053, -118 - %3974 = zext i8 %switch.tableidx22971 to i64 + %3974 = zext nneg i8 %switch.tableidx22971 to i64 %switch.gep22972 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %3974 %3975 = icmp samesign ugt i16 %.0.i.i.i.i.i7251, 117 %switch.tableidx22963 = add nsw i8 %trunc20053, -118 - %3976 = zext i8 %switch.tableidx22963 to i64 + %3976 = zext nneg i8 %switch.tableidx22963 to i64 %switch.gep22964 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %3976 br label %3977 @@ -14740,7 +14740,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i7271: ; pr %4177 = zext nneg i16 %4176 to i32 %4178 = icmp sgt i8 %trunc20056, 117 %switch.tableidx22975 = add nsw i8 %trunc20056, -118 - %4179 = zext i8 %switch.tableidx22975 to i64 + %4179 = zext nneg i8 %switch.tableidx22975 to i64 %switch.gep22976 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %4179 br label %4180 @@ -15203,7 +15203,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i7302: ; pr switch.lookup22978: ; preds = %4320 %switch.tableidx22979 = add nsw i8 %trunc20057, -118 - %4325 = zext i8 %switch.tableidx22979 to i64 + %4325 = zext nneg i8 %switch.tableidx22979 to i64 %switch.gep22980 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %4325 %switch.load22981 = load i32, ptr %switch.gep22980, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i @@ -16868,7 +16868,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i7527: ; pred switch.lookup22986: ; preds = %4748 %switch.tableidx22987 = add nsw i8 %trunc20052, -118 - %4753 = zext i8 %switch.tableidx22987 to i64 + %4753 = zext nneg i8 %switch.tableidx22987 to i64 %switch.gep22988 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %4753 %switch.load22989 = load i32, ptr %switch.gep22988, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i7608 @@ -17543,11 +17543,11 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %4903 = zext nneg i16 %4902 to i32 %4904 = icmp samesign ugt i16 %.0.i.i.i.i7724, 117 %switch.tableidx22991 = add nsw i8 %trunc20046, -118 - %4905 = zext i8 %switch.tableidx22991 to i64 + %4905 = zext nneg i8 %switch.tableidx22991 to i64 %switch.gep22992 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %4905 %4906 = icmp samesign ugt i16 %.0.i.i.i.i7724, 117 %switch.tableidx22995 = add nsw i8 %trunc20046, -118 - %4907 = zext i8 %switch.tableidx22995 to i64 + %4907 = zext nneg i8 %switch.tableidx22995 to i64 %switch.gep22996 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %4907 br label %4908 @@ -17976,11 +17976,11 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %5017 = zext nneg i16 %5016 to i32 %5018 = icmp samesign ugt i16 %.0.i.i.i.i7780, 117 %switch.tableidx22999 = add nsw i8 %trunc20041, -118 - %5019 = zext i8 %switch.tableidx22999 to i64 + %5019 = zext nneg i8 %switch.tableidx22999 to i64 %switch.gep23000 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %5019 %5020 = icmp samesign ugt i16 %.0.i.i.i.i7780, 117 %switch.tableidx23003 = add nsw i8 %trunc20041, -118 - %5021 = zext i8 %switch.tableidx23003 to i64 + %5021 = zext nneg i8 %switch.tableidx23003 to i64 %switch.gep23004 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %5021 br label %5022 @@ -18889,9 +18889,9 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %1483) call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %1483, ptr noundef nonnull align 8 dereferenceable(40) %1484, i64 40, i1 false) %.sroa.22.16.extract.trunc = trunc i64 %.sroa.22.0.copyload to i32 - %5240 = zext i8 %.sroa.1714559.0.copyload to i64 + %5240 = zext nneg i8 %.sroa.1714559.0.copyload to i64 %switch.gep23418 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.194, i64 0, i64 %5240 - %5241 = zext i8 %.sroa.1714559.0.copyload to i64 + %5241 = zext nneg i8 %.sroa.1714559.0.copyload to i64 %switch.gep23421 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.195, i64 0, i64 %5241 br label %5242 @@ -18932,7 +18932,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 br label %5242 switch.lookup23006: ; preds = %5247 - %5252 = zext i8 %.sroa.714589.0.copyload to i64 + %5252 = zext nneg i8 %.sroa.714589.0.copyload to i64 %switch.gep23007 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.194, i64 0, i64 %5252 %switch.load23008 = load i64, ptr %switch.gep23007, align 8 %switch.load23419 = load i64, ptr %switch.gep23418, align 8 @@ -18952,7 +18952,7 @@ switch.lookup23006: ; preds = %5247 br i1 %or.cond5849, label %switch.lookup23009, label %5251 switch.lookup23009: ; preds = %5258 - %5261 = zext i8 %.sroa.714589.0.copyload to i64 + %5261 = zext nneg i8 %.sroa.714589.0.copyload to i64 %switch.gep23010 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.195, i64 0, i64 %5261 %switch.load23011 = load i64, ptr %switch.gep23010, align 8 %switch.load23422 = load i64, ptr %switch.gep23421, align 8 @@ -20278,7 +20278,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i8026: ; pred switch.lookup23024: ; preds = %5675 %switch.tableidx23025 = add nsw i8 %trunc20040, -118 - %5680 = zext i8 %switch.tableidx23025 to i64 + %5680 = zext nneg i8 %switch.tableidx23025 to i64 %switch.gep23026 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %5680 %switch.load23027 = load i32, ptr %switch.gep23026, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i8100 @@ -25829,9 +25829,9 @@ _ZN17cranelift_codegen2ir5types4Type10lane_count17h4544b729d3d3bd7bE.exit.i.i871 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %1285) call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %1285, ptr noundef nonnull align 8 dereferenceable(40) %1286, i64 40, i1 false) %.sroa.39.16.extract.trunc = trunc i64 %.sroa.39.0.copyload to i32 - %6813 = zext i8 %.sroa.30.0.copyload to i64 + %6813 = zext nneg i8 %.sroa.30.0.copyload to i64 %switch.gep23424 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.194, i64 0, i64 %6813 - %6814 = zext i8 %.sroa.30.0.copyload to i64 + %6814 = zext nneg i8 %.sroa.30.0.copyload to i64 %switch.gep23427 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.195, i64 0, i64 %6814 br label %6815 @@ -25872,7 +25872,7 @@ _ZN17cranelift_codegen2ir5types4Type10lane_count17h4544b729d3d3bd7bE.exit.i.i871 br label %6815 switch.lookup23036: ; preds = %6820 - %6825 = zext i8 %.sroa.714965.0.copyload to i64 + %6825 = zext nneg i8 %.sroa.714965.0.copyload to i64 %switch.gep23037 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.194, i64 0, i64 %6825 %switch.load23038 = load i64, ptr %switch.gep23037, align 8 %switch.load23425 = load i64, ptr %switch.gep23424, align 8 @@ -25892,7 +25892,7 @@ switch.lookup23036: ; preds = %6820 br i1 %or.cond5898, label %switch.lookup23039, label %6824 switch.lookup23039: ; preds = %6831 - %6834 = zext i8 %.sroa.714965.0.copyload to i64 + %6834 = zext nneg i8 %.sroa.714965.0.copyload to i64 %switch.gep23040 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.195, i64 0, i64 %6834 %switch.load23041 = load i64, ptr %switch.gep23040, align 8 %switch.load23428 = load i64, ptr %switch.gep23427, align 8 @@ -26762,7 +26762,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i8831: ; pred %7069 = zext nneg i16 %7068 to i32 %7070 = icmp sgt i8 %trunc20038, 117 %switch.tableidx23047 = add nsw i8 %trunc20038, -118 - %7071 = zext i8 %switch.tableidx23047 to i64 + %7071 = zext nneg i8 %switch.tableidx23047 to i64 %switch.gep23048 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %7071 br label %7072 @@ -28223,7 +28223,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %7459 = zext nneg i16 %7458 to i32 %7460 = icmp sgt i8 %trunc20035, 117 %switch.tableidx23051 = add nsw i8 %trunc20035, -118 - %7461 = zext i8 %switch.tableidx23051 to i64 + %7461 = zext nneg i8 %switch.tableidx23051 to i64 %switch.gep23052 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %7461 br label %7462 @@ -28816,7 +28816,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i9095: ; pr switch.lookup23054: ; preds = %7636 %switch.tableidx23055 = add nsw i8 %trunc20036, -118 - %7641 = zext i8 %switch.tableidx23055 to i64 + %7641 = zext nneg i8 %switch.tableidx23055 to i64 %switch.gep23056 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %7641 %switch.load23057 = load i32, ptr %switch.gep23056, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i9177 @@ -30959,15 +30959,15 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %.sroa.0.0.insert.ext.i.i9690 = zext i32 %.sroa.55514342.0.copyload to i64 %8251 = icmp samesign ugt i16 %.0.i.i.i.i9674, 117 %switch.tableidx23097 = add nsw i8 %trunc20030, -118 - %8252 = zext i8 %switch.tableidx23097 to i64 + %8252 = zext nneg i8 %switch.tableidx23097 to i64 %switch.gep23098 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8252 %8253 = icmp samesign ugt i16 %.0.i.i.i.i9674, 117 %switch.tableidx23079 = add nsw i8 %trunc20030, -118 - %8254 = zext i8 %switch.tableidx23079 to i64 + %8254 = zext nneg i8 %switch.tableidx23079 to i64 %switch.gep23080 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8254 %8255 = icmp samesign ugt i16 %.0.i.i.i.i9674, 117 %switch.tableidx23075 = add nsw i8 %trunc20030, -118 - %8256 = zext i8 %switch.tableidx23075 to i64 + %8256 = zext nneg i8 %switch.tableidx23075 to i64 %switch.gep23076 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8256 %switch.tableidx23083 = add nsw i16 %.0.i.i.i.i9674, -118 %8257 = icmp ult i16 %switch.tableidx23083, 10 @@ -30982,7 +30982,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %switch.gep23090 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.131, i64 0, i64 %8260 %8261 = icmp samesign ugt i16 %.0.i.i.i.i9674, 117 %switch.tableidx23093 = add nsw i8 %trunc20030, -118 - %8262 = zext i8 %switch.tableidx23093 to i64 + %8262 = zext nneg i8 %switch.tableidx23093 to i64 %switch.gep23094 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8262 br label %8263 @@ -32208,15 +32208,15 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %8592 = icmp samesign ult i16 %8591, 128 %8593 = icmp samesign ugt i16 %.0.i.i.i.i9921, 117 %switch.tableidx23137 = add nsw i8 %trunc20023, -118 - %8594 = zext i8 %switch.tableidx23137 to i64 + %8594 = zext nneg i8 %switch.tableidx23137 to i64 %switch.gep23138 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8594 %8595 = icmp samesign ugt i16 %.0.i.i.i.i9921, 117 %switch.tableidx23141 = add nsw i8 %trunc20023, -118 - %8596 = zext i8 %switch.tableidx23141 to i64 + %8596 = zext nneg i8 %switch.tableidx23141 to i64 %switch.gep23142 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8596 %8597 = icmp samesign ugt i16 %.0.i.i.i.i9921, 117 %switch.tableidx23145 = add nsw i8 %trunc20023, -118 - %8598 = zext i8 %switch.tableidx23145 to i64 + %8598 = zext nneg i8 %switch.tableidx23145 to i64 %switch.gep23146 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8598 %switch.tableidx23121 = add nsw i16 %.0.i.i.i.i9921, -118 %8599 = icmp ult i16 %switch.tableidx23121, 10 @@ -32231,15 +32231,15 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %switch.gep23130 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.131, i64 0, i64 %8602 %8603 = icmp samesign ugt i16 %.0.i.i.i.i9921, 117 %switch.tableidx23133 = add nsw i8 %trunc20023, -118 - %8604 = zext i8 %switch.tableidx23133 to i64 + %8604 = zext nneg i8 %switch.tableidx23133 to i64 %switch.gep23134 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8604 %8605 = icmp samesign ugt i16 %.0.i.i.i.i9921, 117 %switch.tableidx23113 = add nsw i8 %trunc20023, -118 - %8606 = zext i8 %switch.tableidx23113 to i64 + %8606 = zext nneg i8 %switch.tableidx23113 to i64 %switch.gep23114 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8606 %8607 = icmp samesign ugt i16 %.0.i.i.i.i9921, 117 %switch.tableidx23117 = add nsw i8 %trunc20023, -118 - %8608 = zext i8 %switch.tableidx23117 to i64 + %8608 = zext nneg i8 %switch.tableidx23117 to i64 %switch.gep23118 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8608 %switch.tableidx23101 = add nsw i16 %.0.i.i.i.i9921, -119 %8609 = icmp ult i16 %switch.tableidx23101, 6 @@ -32638,7 +32638,7 @@ switch.lookup23102: ; preds = %8682 switch.lookup23108: ; preds = %8716 %switch.tableidx23109 = add nsw i8 %trunc22313, -118 - %8720 = zext i8 %switch.tableidx23109 to i64 + %8720 = zext nneg i8 %switch.tableidx23109 to i64 %switch.gep23110 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %8720 %switch.load23111 = load i32, ptr %switch.gep23110, align 4 br label %_ZN17cranelift_codegen2ir5types4Type10lane_count17h4544b729d3d3bd7bE.exit.i.i9777 @@ -33846,7 +33846,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %9047 = or disjoint i32 %.fr.i18291, 63 %9048 = icmp samesign ugt i16 %.0.i.i.i.i10187, 117 %switch.tableidx23181 = add nsw i8 %trunc20017, -118 - %9049 = zext i8 %switch.tableidx23181 to i64 + %9049 = zext nneg i8 %switch.tableidx23181 to i64 %switch.gep23182 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %9049 %switch.tableidx23169 = add nsw i16 %.0.i.i.i.i10187, -118 %9050 = icmp ult i16 %switch.tableidx23169, 10 @@ -33861,11 +33861,11 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %switch.gep23178 = getelementptr inbounds nuw [10 x i64], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.131, i64 0, i64 %9053 %9054 = icmp samesign ugt i16 %.0.i.i.i.i10187, 117 %switch.tableidx23153 = add nsw i8 %trunc20017, -118 - %9055 = zext i8 %switch.tableidx23153 to i64 + %9055 = zext nneg i8 %switch.tableidx23153 to i64 %switch.gep23154 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %9055 %9056 = icmp samesign ugt i16 %.0.i.i.i.i10187, 117 %switch.tableidx23157 = add nsw i8 %trunc20017, -118 - %9057 = zext i8 %switch.tableidx23157 to i64 + %9057 = zext nneg i8 %switch.tableidx23157 to i64 %switch.gep23158 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %9057 br label %9058 @@ -34267,7 +34267,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23148: ; preds = %9172 %switch.tableidx23149 = add nsw i8 %trunc22312, -118 - %9176 = zext i8 %switch.tableidx23149 to i64 + %9176 = zext nneg i8 %switch.tableidx23149 to i64 %switch.gep23150 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %9176 %switch.load23151 = load i32, ptr %switch.gep23150, align 4 br label %_ZN17cranelift_codegen2ir5types4Type10lane_count17h4544b729d3d3bd7bE.exit.i.i10031 @@ -36231,7 +36231,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23192: ; preds = %9705 %switch.tableidx23193 = add nsw i8 %trunc20010, -118 - %9710 = zext i8 %switch.tableidx23193 to i64 + %9710 = zext nneg i8 %switch.tableidx23193 to i64 %switch.gep23194 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %9710 %switch.load23195 = load i32, ptr %switch.gep23194, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10314 @@ -37495,7 +37495,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23196: ; preds = %9992 %switch.tableidx23197 = add nsw i8 %trunc20009, -118 - %9997 = zext i8 %switch.tableidx23197 to i64 + %9997 = zext nneg i8 %switch.tableidx23197 to i64 %switch.gep23198 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %9997 %switch.load23199 = load i32, ptr %switch.gep23198, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10503 @@ -37805,7 +37805,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i10505 switch.lookup23200: ; preds = %10077 %.sroa.815402.0.copyload = load i64, ptr %.sroa.815402.0..sroa_idx, align 4 %.sroa.715400.0.copyload = load i8, ptr %.sroa.715400.0..sroa_idx, align 2 - %10083 = zext i8 %.sroa.715400.0.copyload to i64 + %10083 = zext nneg i8 %.sroa.715400.0.copyload to i64 %switch.gep23201 = getelementptr inbounds nuw [10 x i8], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.178, i64 0, i64 %10083 %switch.load23202 = load i8, ptr %switch.gep23201, align 1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %285), !noalias !4651 @@ -38107,7 +38107,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23203: ; preds = %10146 %switch.tableidx23204 = add nsw i8 %trunc20008, -118 - %10151 = zext i8 %switch.tableidx23204 to i64 + %10151 = zext nneg i8 %switch.tableidx23204 to i64 %switch.gep23205 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %10151 %switch.load23206 = load i32, ptr %switch.gep23205, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10593 @@ -39371,7 +39371,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23207: ; preds = %10433 %switch.tableidx23208 = add nsw i8 %trunc20007, -118 - %10438 = zext i8 %switch.tableidx23208 to i64 + %10438 = zext nneg i8 %switch.tableidx23208 to i64 %switch.gep23209 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %10438 %switch.load23210 = load i32, ptr %switch.gep23209, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10783 @@ -40139,7 +40139,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10879: ; pre switch.lookup23219: ; preds = %10638 %switch.tableidx23220 = add nsw i8 %trunc20004, -118 - %10643 = zext i8 %switch.tableidx23220 to i64 + %10643 = zext nneg i8 %switch.tableidx23220 to i64 %switch.gep23221 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %10643 %switch.load23222 = load i32, ptr %switch.gep23221, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10886 @@ -40183,7 +40183,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10886: ; pre switch.lookup23223: ; preds = %10656 %switch.tableidx23224 = add nsw i8 %trunc20005, -118 - %10661 = zext i8 %switch.tableidx23224 to i64 + %10661 = zext nneg i8 %switch.tableidx23224 to i64 %switch.gep23225 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %10661 %switch.load23226 = load i32, ptr %switch.gep23225, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10892 @@ -40532,7 +40532,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23227: ; preds = %10764 %switch.tableidx23228 = add nsw i8 %trunc20006, -118 - %10769 = zext i8 %switch.tableidx23228 to i64 + %10769 = zext nneg i8 %switch.tableidx23228 to i64 %switch.gep23229 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %10769 %switch.load23230 = load i32, ptr %switch.gep23229, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i10940 @@ -41288,7 +41288,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11055: ; pre switch.lookup23235: ; preds = %10943 %switch.tableidx23236 = add nsw i8 %trunc20000, -118 - %10948 = zext i8 %switch.tableidx23236 to i64 + %10948 = zext nneg i8 %switch.tableidx23236 to i64 %switch.gep23237 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %10948 %switch.load23238 = load i32, ptr %switch.gep23237, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11062 @@ -41332,7 +41332,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11062: ; pre switch.lookup23239: ; preds = %10961 %switch.tableidx23240 = add nsw i8 %trunc20001, -118 - %10966 = zext i8 %switch.tableidx23240 to i64 + %10966 = zext nneg i8 %switch.tableidx23240 to i64 %switch.gep23241 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %10966 %switch.load23242 = load i32, ptr %switch.gep23241, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11069 @@ -41681,7 +41681,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23243: ; preds = %11069 %switch.tableidx23244 = add nsw i8 %trunc20002, -118 - %11074 = zext i8 %switch.tableidx23244 to i64 + %11074 = zext nneg i8 %switch.tableidx23244 to i64 %switch.gep23245 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %11074 %switch.load23246 = load i32, ptr %switch.gep23245, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11118 @@ -42398,7 +42398,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23247: ; preds = %11233 %switch.tableidx23248 = add nsw i8 %trunc19998, -118 - %11238 = zext i8 %switch.tableidx23248 to i64 + %11238 = zext nneg i8 %switch.tableidx23248 to i64 %switch.gep23249 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %11238 %switch.load23250 = load i32, ptr %switch.gep23249, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11231 @@ -43277,7 +43277,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23251: ; preds = %11450 %switch.tableidx23252 = add nsw i8 %trunc19997, -118 - %11455 = zext i8 %switch.tableidx23252 to i64 + %11455 = zext nneg i8 %switch.tableidx23252 to i64 %switch.gep23253 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %11455 %switch.load23254 = load i32, ptr %switch.gep23253, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11372 @@ -44320,7 +44320,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11519: ; pre switch.lookup23263: ; preds = %11724 %switch.tableidx23264 = add nsw i8 %trunc19996, -118 - %11729 = zext i8 %switch.tableidx23264 to i64 + %11729 = zext nneg i8 %switch.tableidx23264 to i64 %switch.gep23265 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %11729 %switch.load23266 = load i32, ptr %switch.gep23265, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i11541 @@ -44685,7 +44685,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11584: ; pre switch.lookup23275: ; preds = %11839 %switch.tableidx23276 = add nsw i8 %trunc19994, -118 - %11844 = zext i8 %switch.tableidx23276 to i64 + %11844 = zext nneg i8 %switch.tableidx23276 to i64 %switch.gep23277 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %11844 %switch.load23278 = load i32, ptr %switch.gep23277, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i11606 @@ -44882,7 +44882,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i11606: ; p switch.lookup23279: ; preds = %11898 %switch.tableidx23280 = add nsw i8 %trunc19992, -118 - %11903 = zext i8 %switch.tableidx23280 to i64 + %11903 = zext nneg i8 %switch.tableidx23280 to i64 %switch.gep23281 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %11903 %switch.load23282 = load i32, ptr %switch.gep23281, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i11644 @@ -45127,7 +45127,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i11644: ; p switch.lookup23283: ; preds = %11979 %switch.tableidx23284 = add nsw i8 %trunc19990, -118 - %11984 = zext i8 %switch.tableidx23284 to i64 + %11984 = zext nneg i8 %switch.tableidx23284 to i64 %switch.gep23285 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %11984 %switch.load23286 = load i32, ptr %switch.gep23285, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i.i11679 @@ -45330,7 +45330,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %.sroa.0.0.insert.insert.i.i11785 = or disjoint i64 %.sroa.2.0.insert.shift.i.i11783, %.sroa.0.0.insert.ext.i.i11784 %12050 = add i8 %.sroa.550.0.copyload, -6 %switch.i = icmp ult i8 %12050, -4 - %12051 = zext i8 %.sroa.550.0.copyload to i64 + %12051 = zext nneg i8 %.sroa.550.0.copyload to i64 %switch.gep23292 = getelementptr inbounds nuw [10 x i8], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.160, i64 0, i64 %12051 br label %12052 @@ -45482,7 +45482,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23287: ; preds = %12082 %switch.tableidx23288 = add nsw i8 %trunc20016, -118 - %12087 = zext i8 %switch.tableidx23288 to i64 + %12087 = zext nneg i8 %switch.tableidx23288 to i64 %switch.gep23289 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12087 %switch.load23290 = load i32, ptr %switch.gep23289, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11727 @@ -45669,11 +45669,11 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %.061325.i = select i1 %12146, i64 %.sroa.102615.0.copyload, i64 %12150 %12151 = icmp sgt i8 %trunc20011, 117 %switch.tableidx23295 = add nsw i8 %trunc20011, -118 - %12152 = zext i8 %switch.tableidx23295 to i64 + %12152 = zext nneg i8 %switch.tableidx23295 to i64 %switch.gep23296 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12152 %12153 = icmp sgt i8 %trunc20011, 117 %switch.tableidx23299 = add nsw i8 %trunc20011, -118 - %12154 = zext i8 %switch.tableidx23299 to i64 + %12154 = zext nneg i8 %switch.tableidx23299 to i64 %switch.gep23300 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12154 br label %12155 @@ -46307,7 +46307,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23302: ; preds = %12309 %switch.tableidx23303 = add nsw i8 %trunc19975, -118 - %12314 = zext i8 %switch.tableidx23303 to i64 + %12314 = zext nneg i8 %switch.tableidx23303 to i64 %switch.gep23304 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12314 %switch.load23305 = load i32, ptr %switch.gep23304, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11827 @@ -46586,7 +46586,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i11829 switch.lookup23306: ; preds = %12387 %switch.tableidx23307 = add nsw i8 %trunc19983, -118 - %12392 = zext i8 %switch.tableidx23307 to i64 + %12392 = zext nneg i8 %switch.tableidx23307 to i64 %switch.gep23308 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12392 %switch.load23309 = load i32, ptr %switch.gep23308, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11858 @@ -46825,7 +46825,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i11860 switch.lookup23310: ; preds = %12451 %switch.tableidx23311 = add nsw i8 %trunc19982, -118 - %12456 = zext i8 %switch.tableidx23311 to i64 + %12456 = zext nneg i8 %switch.tableidx23311 to i64 %switch.gep23312 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12456 %switch.load23313 = load i32, ptr %switch.gep23312, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11895 @@ -47059,7 +47059,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i11897 switch.lookup23314: ; preds = %12514 %switch.tableidx23315 = add nsw i8 %trunc19981, -118 - %12519 = zext i8 %switch.tableidx23315 to i64 + %12519 = zext nneg i8 %switch.tableidx23315 to i64 %switch.gep23316 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12519 %switch.load23317 = load i32, ptr %switch.gep23316, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11930 @@ -47293,7 +47293,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i11932 switch.lookup23318: ; preds = %12577 %switch.tableidx23319 = add nsw i8 %trunc19980, -118 - %12582 = zext i8 %switch.tableidx23319 to i64 + %12582 = zext nneg i8 %switch.tableidx23319 to i64 %switch.gep23320 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12582 %switch.load23321 = load i32, ptr %switch.gep23320, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i11965 @@ -47527,7 +47527,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i11967 switch.lookup23322: ; preds = %12640 %switch.tableidx23323 = add nsw i8 %trunc19979, -118 - %12645 = zext i8 %switch.tableidx23323 to i64 + %12645 = zext nneg i8 %switch.tableidx23323 to i64 %switch.gep23324 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12645 %switch.load23325 = load i32, ptr %switch.gep23324, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12000 @@ -47761,7 +47761,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i12002 switch.lookup23326: ; preds = %12703 %switch.tableidx23327 = add nsw i8 %trunc19978, -118 - %12708 = zext i8 %switch.tableidx23327 to i64 + %12708 = zext nneg i8 %switch.tableidx23327 to i64 %switch.gep23328 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12708 %switch.load23329 = load i32, ptr %switch.gep23328, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12035 @@ -47995,7 +47995,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i12037 switch.lookup23330: ; preds = %12766 %switch.tableidx23331 = add nsw i8 %trunc19977, -118 - %12771 = zext i8 %switch.tableidx23331 to i64 + %12771 = zext nneg i8 %switch.tableidx23331 to i64 %switch.gep23332 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12771 %switch.load23333 = load i32, ptr %switch.gep23332, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12070 @@ -48229,7 +48229,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i12072 switch.lookup23334: ; preds = %12829 %switch.tableidx23335 = add nsw i8 %trunc19976, -118 - %12834 = zext i8 %switch.tableidx23335 to i64 + %12834 = zext nneg i8 %switch.tableidx23335 to i64 %switch.gep23336 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12834 %switch.load23337 = load i32, ptr %switch.gep23336, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12105 @@ -48454,7 +48454,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i12107 switch.lookup23338: ; preds = %12874 %switch.tableidx23339 = add nsw i8 %trunc19974, -118 - %12879 = zext i8 %switch.tableidx23339 to i64 + %12879 = zext nneg i8 %switch.tableidx23339 to i64 %switch.gep23340 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %12879 %switch.load23341 = load i32, ptr %switch.gep23340, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12144 @@ -49156,7 +49156,7 @@ _ZN17cranelift_codegen4opts14generated_code25constructor_sextend_maybe17hd501ba7 switch.lookup23342: ; preds = %13065 %switch.tableidx23343 = add nsw i8 %trunc19973, -118 - %13070 = zext i8 %switch.tableidx23343 to i64 + %13070 = zext nneg i8 %switch.tableidx23343 to i64 %switch.gep23344 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %13070 %switch.load23345 = load i32, ptr %switch.gep23344, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12250 @@ -49592,7 +49592,7 @@ _ZN17cranelift_codegen4opts14generated_code25constructor_sextend_maybe17hd501ba7 switch.lookup23346: ; preds = %13181 %switch.tableidx23347 = add nsw i8 %trunc19972, -118 - %13186 = zext i8 %switch.tableidx23347 to i64 + %13186 = zext nneg i8 %switch.tableidx23347 to i64 %switch.gep23348 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %13186 %switch.load23349 = load i32, ptr %switch.gep23348, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12329 @@ -50173,7 +50173,7 @@ _ZN17cranelift_codegen4opts14generated_code25constructor_sextend_maybe17hd501ba7 switch.lookup23350: ; preds = %13344 %switch.tableidx23351 = add nsw i8 %trunc19971, -118 - %13349 = zext i8 %switch.tableidx23351 to i64 + %13349 = zext nneg i8 %switch.tableidx23351 to i64 %switch.gep23352 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %13349 %switch.load23353 = load i32, ptr %switch.gep23352, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12441 @@ -50875,7 +50875,7 @@ _ZN17cranelift_codegen4opts14generated_code25constructor_sextend_maybe17hd501ba7 switch.lookup23354: ; preds = %13535 %switch.tableidx23355 = add nsw i8 %trunc19970, -118 - %13540 = zext i8 %switch.tableidx23355 to i64 + %13540 = zext nneg i8 %switch.tableidx23355 to i64 %switch.gep23356 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %13540 %switch.load23357 = load i32, ptr %switch.gep23356, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12558 @@ -51311,7 +51311,7 @@ _ZN17cranelift_codegen4opts14generated_code25constructor_sextend_maybe17hd501ba7 switch.lookup23358: ; preds = %13651 %switch.tableidx23359 = add nsw i8 %trunc19969, -118 - %13656 = zext i8 %switch.tableidx23359 to i64 + %13656 = zext nneg i8 %switch.tableidx23359 to i64 %switch.gep23360 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %13656 %switch.load23361 = load i32, ptr %switch.gep23360, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12637 @@ -51869,7 +51869,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %.sroa.2.0.insert.ext.i.i12764 = shl i64 %.sroa.83.0.copyload, 32 %.sroa.0.0.insert.ext.i.i12766 = zext i32 %.sroa.5315884.0.copyload to i64 %.sroa.0.0.insert.insert.i.i12767 = or disjoint i64 %.sroa.2.0.insert.ext.i.i12764, %.sroa.0.0.insert.ext.i.i12766 - %13812 = zext i8 %.sroa.51.0.copyload to i64 + %13812 = zext nneg i8 %.sroa.51.0.copyload to i64 %switch.gep23363 = getelementptr inbounds nuw [10 x i8], ptr @switch.table._ZN17cranelift_codegen4opts14generated_code20constructor_simplify17h34587f803be0bf26E.178, i64 0, i64 %13812 br label %13813 @@ -52291,7 +52291,7 @@ _ZN17cranelift_codegen4opts14generated_code25constructor_uextend_maybe17hb2d402a switch.lookup23365: ; preds = %13910 %switch.tableidx23366 = add nsw i8 %trunc19987, -118 - %13915 = zext i8 %switch.tableidx23366 to i64 + %13915 = zext nneg i8 %switch.tableidx23366 to i64 %switch.gep23367 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %13915 %switch.load23368 = load i32, ptr %switch.gep23367, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12811 @@ -52418,7 +52418,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23369: ; preds = %13945 %switch.tableidx23370 = add nsw i8 %trunc19988, -118 - %13950 = zext i8 %switch.tableidx23370 to i64 + %13950 = zext nneg i8 %switch.tableidx23370 to i64 %switch.gep23371 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %13950 %switch.load23372 = load i32, ptr %switch.gep23371, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i12839 @@ -55025,11 +55025,11 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 %narrow.i13308 = select i1 %.0.i.i13306, i1 %switch.i.i13307, i1 false %14739 = icmp samesign ugt i16 %.0.i.i.i.i13320, 117 %switch.tableidx23386 = add nsw i8 %trunc19965, -118 - %14740 = zext i8 %switch.tableidx23386 to i64 + %14740 = zext nneg i8 %switch.tableidx23386 to i64 %switch.gep23387 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %14740 %14741 = icmp samesign ugt i16 %.0.i.i.i.i13320, 117 %switch.tableidx23390 = add nsw i8 %trunc19965, -118 - %14742 = zext i8 %switch.tableidx23390 to i64 + %14742 = zext nneg i8 %switch.tableidx23390 to i64 %switch.gep23391 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %14742 br label %14743 @@ -55176,7 +55176,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23377: ; preds = %14771 %switch.tableidx23378 = add nsw i8 %trunc19968, -118 - %14776 = zext i8 %switch.tableidx23378 to i64 + %14776 = zext nneg i8 %switch.tableidx23378 to i64 %switch.gep23379 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %14776 %switch.load23380 = load i32, ptr %switch.gep23379, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i13251 @@ -55319,7 +55319,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i13253 switch.lookup23381: ; preds = %14812 %switch.tableidx23382 = add nsw i8 %trunc19967, -118 - %14817 = zext i8 %switch.tableidx23382 to i64 + %14817 = zext nneg i8 %switch.tableidx23382 to i64 %switch.gep23383 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %14817 %switch.load23384 = load i32, ptr %switch.gep23383, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i13277 @@ -57467,7 +57467,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23393: ; preds = %15500 %switch.tableidx23394 = add nsw i8 %trunc19963, -118 - %15505 = zext i8 %switch.tableidx23394 to i64 + %15505 = zext nneg i8 %switch.tableidx23394 to i64 %switch.gep23395 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %15505 %switch.load23396 = load i32, ptr %switch.gep23395, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i13532 @@ -58616,7 +58616,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23405: ; preds = %15825 %switch.tableidx23406 = add nsw i8 %trunc19961, -118 - %15830 = zext i8 %switch.tableidx23406 to i64 + %15830 = zext nneg i8 %switch.tableidx23406 to i64 %switch.gep23407 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %15830 %switch.load23408 = load i32, ptr %switch.gep23407, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i13673 @@ -59025,7 +59025,7 @@ _ZN17cranelift_codegen4opts16InstDataEtorIter3new17h681d65f73c30106cE.llvm.57816 switch.lookup23409: ; preds = %15946 %switch.tableidx23410 = add nsw i8 %trunc19960, -118 - %15951 = zext i8 %switch.tableidx23410 to i64 + %15951 = zext nneg i8 %switch.tableidx23410 to i64 %switch.gep23411 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %15951 %switch.load23412 = load i32, ptr %switch.gep23411, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i13727 @@ -59162,7 +59162,7 @@ _ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.thread.i13729 switch.lookup23413: ; preds = %15986 %switch.tableidx23414 = add nsw i8 %trunc, -118 - %15991 = zext i8 %switch.tableidx23414 to i64 + %15991 = zext nneg i8 %switch.tableidx23414 to i64 %switch.gep23415 = getelementptr inbounds nuw [10 x i32], ptr @"switch.table._ZN105_$LT$cranelift_codegen..opts..IsleContext$u20$as$u20$cranelift_codegen..opts..generated_code..Context$GT$12imm64_masked17h89a2a78623408e43E", i64 0, i64 %15991 %switch.load23416 = load i32, ptr %switch.gep23415, align 4 br label %_ZN17cranelift_codegen2ir5types4Type4bits17h6ac7b92b6381a3ecE.exit.i13752 diff --git a/bench/wasmtime-rs/optimized/3r0osxvwe4cd326n.ll b/bench/wasmtime-rs/optimized/3r0osxvwe4cd326n.ll index bb7bfc6f01f..19740a6f641 100644 --- a/bench/wasmtime-rs/optimized/3r0osxvwe4cd326n.ll +++ b/bench/wasmtime-rs/optimized/3r0osxvwe4cd326n.ll @@ -1512,10 +1512,10 @@ switch.lookup: ; preds = %31 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !112 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !112 %36 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %37 = zext i8 %.val.i to i64 + %37 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %37 %switch.load = load ptr, ptr %switch.gep, align 8 - %38 = zext i8 %.val.i to i64 + %38 = zext nneg i8 %.val.i to i64 %switch.gep45 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %38 %switch.load46 = load i64, ptr %switch.gep45, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !112 @@ -17580,10 +17580,10 @@ switch.lookup: ; preds = %129 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6), !noalias !2312 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !2312 %132 = getelementptr inbounds nuw i8, ptr %5, i64 8 - %133 = zext i8 %.val.i17 to i64 + %133 = zext nneg i8 %.val.i17 to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %133 %switch.load = load ptr, ptr %switch.gep, align 8 - %134 = zext i8 %.val.i17 to i64 + %134 = zext nneg i8 %.val.i17 to i64 %switch.gep90 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %134 %switch.load91 = load i64, ptr %switch.gep90, align 8 store ptr %switch.load, ptr %5, align 8, !noalias !2312 @@ -18517,10 +18517,10 @@ switch.lookup: ; preds = %297 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7), !noalias !2460 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6), !noalias !2460 %302 = getelementptr inbounds nuw i8, ptr %6, i64 8 - %303 = zext i8 %.val.i163 to i64 + %303 = zext nneg i8 %.val.i163 to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %303 %switch.load = load ptr, ptr %switch.gep, align 8 - %304 = zext i8 %.val.i163 to i64 + %304 = zext nneg i8 %.val.i163 to i64 %switch.gep217 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %304 %switch.load218 = load i64, ptr %switch.gep217, align 8 store ptr %switch.load, ptr %6, align 8, !noalias !2460 @@ -20800,10 +20800,10 @@ switch.lookup: ; preds = %34 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !2668 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !2668 %39 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %40 = zext i8 %.val.i to i64 + %40 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %40 %switch.load = load ptr, ptr %switch.gep, align 8 - %41 = zext i8 %.val.i to i64 + %41 = zext nneg i8 %.val.i to i64 %switch.gep38 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %41 %switch.load39 = load i64, ptr %switch.gep38, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !2668 @@ -23945,10 +23945,10 @@ switch.lookup: ; preds = %9 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !2762 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !2762 %16 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %17 = zext i8 %.val to i64 + %17 = zext nneg i8 %.val to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %17 %switch.load = load ptr, ptr %switch.gep, align 8 - %18 = zext i8 %.val to i64 + %18 = zext nneg i8 %.val to i64 %switch.gep5 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %18 %switch.load6 = load i64, ptr %switch.gep5, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !2762 @@ -24108,10 +24108,10 @@ switch.lookup: ; preds = %33 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !2789 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !2789 %38 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %39 = zext i8 %.val.i to i64 + %39 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %39 %switch.load = load ptr, ptr %switch.gep, align 8 - %40 = zext i8 %.val.i to i64 + %40 = zext nneg i8 %.val.i to i64 %switch.gep36 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %40 %switch.load37 = load i64, ptr %switch.gep36, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !2789 @@ -24271,10 +24271,10 @@ switch.lookup: ; preds = %13 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !2815 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !2815 %16 = getelementptr inbounds nuw i8, ptr %3, i64 8 - %17 = zext i8 %.val8 to i64 + %17 = zext nneg i8 %.val8 to i64 %switch.gep = getelementptr inbounds nuw [31 x ptr], ptr @"switch.table._ZN87_$LT$cpp_demangle..ast..BuiltinType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17h86851c9cf60da354E", i64 0, i64 %17 %switch.load = load ptr, ptr %switch.gep, align 8 - %18 = zext i8 %.val8 to i64 + %18 = zext nneg i8 %.val8 to i64 %switch.gep3 = getelementptr inbounds nuw [31 x i64], ptr @"switch.table._ZN87_$LT$cpp_demangle..ast..BuiltinType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17h86851c9cf60da354E.107", i64 0, i64 %18 %switch.load4 = load i64, ptr %switch.gep3, align 8 store ptr %switch.load, ptr %3, align 8, !noalias !2815 @@ -25223,10 +25223,10 @@ switch.lookup: ; preds = %50 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8), !noalias !2886 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7), !noalias !2886 %53 = getelementptr inbounds nuw i8, ptr %7, i64 8 - %54 = zext i8 %.val.i to i64 + %54 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %54 %switch.load = load ptr, ptr %switch.gep, align 8 - %55 = zext i8 %.val.i to i64 + %55 = zext nneg i8 %.val.i to i64 %switch.gep188 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %55 %switch.load189 = load i64, ptr %switch.gep188, align 8 store ptr %switch.load, ptr %7, align 8, !noalias !2886 @@ -25937,10 +25937,10 @@ switch.lookup: ; preds = %20 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3009 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !3009 %23 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %24 = zext i8 %.val.i to i64 + %24 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %24 %switch.load = load ptr, ptr %switch.gep, align 8 - %25 = zext i8 %.val.i to i64 + %25 = zext nneg i8 %.val.i to i64 %switch.gep38 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %25 %switch.load39 = load i64, ptr %switch.gep38, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !3009 @@ -27077,10 +27077,10 @@ switch.lookup: ; preds = %79 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3150 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !3150 %84 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %85 = zext i8 %.val.i to i64 + %85 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %85 %switch.load = load ptr, ptr %switch.gep, align 8 - %86 = zext i8 %.val.i to i64 + %86 = zext nneg i8 %.val.i to i64 %switch.gep95 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %86 %switch.load96 = load i64, ptr %switch.gep95, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !3150 @@ -27261,10 +27261,10 @@ switch.lookup: ; preds = %9 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6), !noalias !3170 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3170 %16 = getelementptr inbounds nuw i8, ptr %5, i64 8 - %17 = zext i8 %.val to i64 + %17 = zext nneg i8 %.val to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %17 %switch.load = load ptr, ptr %switch.gep, align 8 - %18 = zext i8 %.val to i64 + %18 = zext nneg i8 %.val to i64 %switch.gep17 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %18 %switch.load18 = load i64, ptr %switch.gep17, align 8 store ptr %switch.load, ptr %5, align 8, !noalias !3170 @@ -28110,10 +28110,10 @@ switch.lookup: ; preds = %33 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3317 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !3317 %38 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %39 = zext i8 %.val.i to i64 + %39 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %39 %switch.load = load ptr, ptr %switch.gep, align 8 - %40 = zext i8 %.val.i to i64 + %40 = zext nneg i8 %.val.i to i64 %switch.gep38 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %40 %switch.load39 = load i64, ptr %switch.gep38, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !3317 @@ -28872,10 +28872,10 @@ switch.lookup: ; preds = %86 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3438 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !3438 %91 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %92 = zext i8 %.val.i22.i to i64 + %92 = zext nneg i8 %.val.i22.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %92 %switch.load = load ptr, ptr %switch.gep, align 8 - %93 = zext i8 %.val.i22.i to i64 + %93 = zext nneg i8 %.val.i22.i to i64 %switch.gep342 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %93 %switch.load343 = load i64, ptr %switch.gep342, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !3438 @@ -29086,10 +29086,10 @@ switch.lookup344: ; preds = %169 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10), !noalias !3468 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9), !noalias !3468 %172 = getelementptr inbounds nuw i8, ptr %9, i64 8 - %173 = zext i8 %.val.i to i64 + %173 = zext nneg i8 %.val.i to i64 %switch.gep345 = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %173 %switch.load346 = load ptr, ptr %switch.gep345, align 8 - %174 = zext i8 %.val.i to i64 + %174 = zext nneg i8 %.val.i to i64 %switch.gep347 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %174 %switch.load348 = load i64, ptr %switch.gep347, align 8 store ptr %switch.load346, ptr %9, align 8, !noalias !3468 @@ -30538,10 +30538,10 @@ switch.lookup: ; preds = %51 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6), !noalias !3616 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3616 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !3616 - %56 = zext i8 %.val.i.i to i64 + %56 = zext nneg i8 %.val.i.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %56 %switch.load = load ptr, ptr %switch.gep, align 8 - %57 = zext i8 %.val.i.i to i64 + %57 = zext nneg i8 %.val.i.i to i64 %switch.gep74 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %57 %switch.load75 = load i64, ptr %switch.gep74, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !3616 @@ -31708,10 +31708,10 @@ switch.lookup: ; preds = %36 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3751 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !3751 %41 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %42 = zext i8 %.val.i to i64 + %42 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %42 %switch.load = load ptr, ptr %switch.gep, align 8 - %43 = zext i8 %.val.i to i64 + %43 = zext nneg i8 %.val.i to i64 %switch.gep59 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %43 %switch.load60 = load i64, ptr %switch.gep59, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !3751 @@ -32420,10 +32420,10 @@ switch.lookup: ; preds = %210 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7), !noalias !3881 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6), !noalias !3881 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !3881 - %215 = zext i8 %.val.i to i64 + %215 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %215 %switch.load = load ptr, ptr %switch.gep, align 8 - %216 = zext i8 %.val.i to i64 + %216 = zext nneg i8 %.val.i to i64 %switch.gep134 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %216 %switch.load135 = load i64, ptr %switch.gep134, align 8 store ptr %switch.load, ptr %5, align 8, !noalias !3881 @@ -32842,10 +32842,10 @@ switch.lookup: ; preds = %1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) %10 = getelementptr inbounds nuw i8, ptr %2, i64 8 - %11 = zext i8 %.0.val to i64 + %11 = zext nneg i8 %.0.val to i64 %switch.gep = getelementptr inbounds nuw [48 x ptr], ptr @"switch.table._ZN94_$LT$cpp_demangle..ast..SimpleOperatorName$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17h9c7f676bf3bc1594E", i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 - %12 = zext i8 %.0.val to i64 + %12 = zext nneg i8 %.0.val to i64 %switch.gep2 = getelementptr inbounds nuw [48 x i64], ptr @"switch.table._ZN94_$LT$cpp_demangle..ast..SimpleOperatorName$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17h9c7f676bf3bc1594E.119", i64 0, i64 %12 %switch.load3 = load i64, ptr %switch.gep2, align 8 store ptr %switch.load, ptr %2, align 8 @@ -32906,10 +32906,10 @@ switch.lookup: ; preds = %1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) %10 = getelementptr inbounds nuw i8, ptr %2, i64 8 - %11 = zext i8 %.0.val to i64 + %11 = zext nneg i8 %.0.val to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %11 %switch.load = load ptr, ptr %switch.gep, align 8 - %12 = zext i8 %.0.val to i64 + %12 = zext nneg i8 %.0.val to i64 %switch.gep2 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %12 %switch.load3 = load i64, ptr %switch.gep2, align 8 store ptr %switch.load, ptr %2, align 8 @@ -33274,10 +33274,10 @@ switch.lookup: ; preds = %32 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5), !noalias !4020 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !4020 %37 = getelementptr inbounds nuw i8, ptr %4, i64 8 - %38 = zext i8 %.val.i to i64 + %38 = zext nneg i8 %.val.i to i64 %switch.gep = getelementptr inbounds nuw [7 x ptr], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE", i64 0, i64 %38 %switch.load = load ptr, ptr %switch.gep, align 8 - %39 = zext i8 %.val.i to i64 + %39 = zext nneg i8 %.val.i to i64 %switch.gep34 = getelementptr inbounds nuw [7 x i64], ptr @"switch.table._ZN95_$LT$cpp_demangle..ast..PointerToMemberType$u20$as$u20$cpp_demangle..ast..Demangle$LT$W$GT$$GT$8demangle17hc732e8bb3e35511fE.121", i64 0, i64 %39 %switch.load35 = load i64, ptr %switch.gep34, align 8 store ptr %switch.load, ptr %4, align 8, !noalias !4020