Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b4bd267

Browse filesBrowse files
committed
add diagram to test
1 parent 43dc6bb commit b4bd267
Copy full SHA for b4bd267

File tree

Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed

‎llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-branch-fold.ll

Copy file name to clipboardExpand all lines: llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-branch-fold.ll
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
22
; RUN: opt %s -S -passes=simplifycfg -bonus-inst-threshold=2 | FileCheck %s
33

4+
;; +---------------+
5+
;; | |
6+
;; +--> b --+ |
7+
;; | v v
8+
;; --> a d --> e --> f -->
9+
;; | ^ ^
10+
;; +--> c --+ |
11+
;; | |
12+
;; +---------------+
13+
414
;; Block d gets folded into preds b and c. Check the cloned instructions get
515
;; remapped DILocation atomGroup numbers in each of the preds. Additionally
616
;; check that the branches each inherit the atomGroup of the folded branch.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.