[PATCH] D145573: Fix cost model checks in tests for debug intrinsics

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 03:44:08 PST 2023


Orlando created this revision.
Orlando added reviewers: StephenTozer, jmorse, aprantl, jryans.
Orlando added a project: debug-info.
Herald added a project: All.
Orlando requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

These tests don't have a "Debug Info Version" module flag causing the debug intrinsics to be dropped with a warning `warning: ignoring debug info with an invalid version (0)`. The test passes because there are no CHECK lines for these intrinsics. Fix the issue and auto-update the test checks.


https://reviews.llvm.org/D145573

Files:
  llvm/test/Analysis/CostModel/X86/free-intrinsics.ll
  llvm/test/Analysis/CostModel/free-intrinsics-datalayout.ll
  llvm/test/Analysis/CostModel/free-intrinsics-no_info.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145573.503298.patch
Type: text/x-patch
Size: 14877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/223bc5c3/attachment.bin>


More information about the llvm-commits mailing list