[PATCH] D116070: [X86] Enable ibt-seal optimization when LTO is used in Kernel

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 19 18:52:46 PST 2022


MaskRay added a comment.

Sent D140363 <https://reviews.llvm.org/D140363> to remove this incorrectly implemented option.



================
Comment at: llvm/test/CodeGen/X86/ibtseal-small.ll:1
+; RUN: llc < %s -O2 -mtriple=x86_64-unknown-linux-gnu -x86-indirect-branch-tracking --code-model=small | FileCheck %s --check-prefix=CHECK-SMALL-IBTSEAL
+
----------------
It's not necessary to create 3 identical test files. We can use 3 RUN lines instead of using the DejaGnu style approach:)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116070/new/

https://reviews.llvm.org/D116070



More information about the cfe-commits mailing list