Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | opt -lowerinvoke -enable-correct-eh-support -disable-output |
| 2 | |
| 3 | void %_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() { |
| 4 | entry: |
| 5 | br bool false, label %then, label %UnifiedReturnBlock |
| 6 | |
| 7 | then: ; preds = %entry |
| 8 | invoke void %_Znwj( ) |
| 9 | to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock |
| 10 | |
| 11 | UnifiedReturnBlock: ; preds = %entry, %then, %then |
| 12 | %UnifiedRetVal = phi int* [ null, %entry ], [ null, %then ], [ null, %then ] |
| 13 | ret void |
| 14 | } |
| 15 | |
| 16 | declare void %_Znwj() |