We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43dc6bb commit b4bd267Copy full SHA for b4bd267
llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-branch-fold.ll
@@ -1,6 +1,16 @@
1
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2
; RUN: opt %s -S -passes=simplifycfg -bonus-inst-threshold=2 | FileCheck %s
3
4
+;; +---------------+
5
+;; | |
6
+;; +--> b --+ |
7
+;; | v v
8
+;; --> a d --> e --> f -->
9
+;; | ^ ^
10
+;; +--> c --+ |
11
12
13
+
14
;; Block d gets folded into preds b and c. Check the cloned instructions get
15
;; remapped DILocation atomGroup numbers in each of the preds. Additionally
16
;; check that the branches each inherit the atomGroup of the folded branch.
0 commit comments