[PATCH] D41496: [EarlyCSE] Salvage debug info during DCE

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 15:27:12 PST 2018

davide requested changes to this revision.
davide added inline comments.
This revision now requires changes to proceed.

Comment at: test/Transforms/EarlyCSE/debuginfo-dce.ll:1-7
+; RUN: opt -early-cse -S %s -o - | FileCheck %s
+; ModuleID = '<stdin>'
+source_filename = "test.c"
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+; Function Attrs: nounwind uwtable
+define i32 @foo() !dbg !6 {
I'm under the impression this test case can be simplified. Can you give it a try?


More information about the llvm-commits mailing list