[llvm] CodeGen: add a missing check for bit-slice overlap in CV (PR #75504)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 17:14:33 PST 2023


================
@@ -0,0 +1,67 @@
+; RUN: llc -filetype asm -o - %s | FileCheck %s
+
+; Ensure that we do not emit any live ranges for the fragment as it is
+; bit-sliced which cannot be represented in CodeView.
+; CHECK-NOT: .cv_def_range
+
+source_filename = "/tmp/reduced.ll"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-windows-msvc19.37.32825"
----------------
compnerd wrote:

It shouldn't, though I could see it causing a warning for overriding the triple.  I'll put up a change to drop the triple, the default triple should be fine.

https://github.com/llvm/llvm-project/pull/75504


More information about the llvm-commits mailing list