|  | 
| 1 | 1 | ;=========================== begin_copyright_notice ============================ | 
| 2 | 2 | ; | 
| 3 |  | -; Copyright (C) 2021-2024 Intel Corporation | 
|  | 3 | +; Copyright (C) 2021-2025 Intel Corporation | 
| 4 | 4 | ; | 
| 5 | 5 | ; SPDX-License-Identifier: MIT | 
| 6 | 6 | ; | 
| 7 | 7 | ;============================ end_copyright_notice ============================= | 
| 8 | 8 | 
 | 
| 9 | 9 | ; Check that bti is assigned to opaque pointer state arguments. | 
| 10 | 10 | 
 | 
| 11 |  | -; RUN: %opt_legacy_typed %use_old_pass_manager% -GenXBTIAssignment -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,RAW,RAW-TYPED-PTRS | 
| 12 |  | -; RUN: %opt_legacy_typed %use_old_pass_manager% -GenXBTIAssignment -instcombine -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,CLEAN | 
| 13 |  | -; RUN: %opt_legacy_opaque %use_old_pass_manager% -GenXBTIAssignment -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,RAW,RAW-OPAQUE-PTRS | 
| 14 |  | -; RUN: %opt_legacy_opaque %use_old_pass_manager% -GenXBTIAssignment -instcombine -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,CLEAN | 
|  | 11 | +; RUN: %opt_legacy_typed %use_old_pass_manager% -GenXBTIAssignment -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,RAW,RAW-TYPED-PTRS | 
|  | 12 | +; RUN: %opt_legacy_typed %use_old_pass_manager% -GenXBTIAssignment -instcombine -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,CLEAN | 
|  | 13 | +; RUN: %opt_legacy_opaque %use_old_pass_manager% -GenXBTIAssignment -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,RAW,RAW-OPAQUE-PTRS | 
|  | 14 | +; RUN: %opt_legacy_opaque %use_old_pass_manager% -GenXBTIAssignment -instcombine -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,CLEAN | 
| 15 | 15 | 
 | 
| 16 |  | -; RUN: %opt_new_pm_typed -passes=GenXBTIAssignment -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,RAW,RAW-TYPED-PTRS | 
| 17 |  | -; RUN: %opt_new_pm_typed -passes=GenXBTIAssignment,instcombine -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,CLEAN | 
| 18 |  | -; RUN: %opt_new_pm_opaque -passes=GenXBTIAssignment -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,RAW,RAW-OPAQUE-PTRS | 
| 19 |  | -; RUN: %opt_new_pm_opaque -passes=GenXBTIAssignment,instcombine -march=genx64 -mcpu=Gen9 -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,CLEAN | 
|  | 16 | +; RUN: %opt_new_pm_typed -passes=GenXBTIAssignment -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,RAW,RAW-TYPED-PTRS | 
|  | 17 | +; RUN: %opt_new_pm_typed -passes=GenXBTIAssignment,instcombine -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-TYPED-PTRS,CLEAN | 
|  | 18 | +; RUN: %opt_new_pm_opaque -passes=GenXBTIAssignment -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,RAW,RAW-OPAQUE-PTRS | 
|  | 19 | +; RUN: %opt_new_pm_opaque -passes=GenXBTIAssignment,instcombine -march=genx64 -mcpu=XeHPG -S < %s | FileCheck %s --check-prefixes=CHECK,CHECK-OPAQUE-PTRS,CLEAN | 
| 20 | 20 | 
 | 
| 21 | 21 | target datalayout = "e-p:64:64-i64:64-n8:16:32:64" | 
| 22 | 22 | target triple = "spir64-unknown-unknown" | 
|  | 
0 commit comments