File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
llvm/test/Transforms/WholeProgramDevirt Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,14 @@ target triple = "x86_64-unknown-linux"
2626
2727declare ptr @_ZNKSt9exception4whatEv ()
2828
29- define i64 @_Z4testPSt9exception () {
30- %1 = call i1 @llvm.type.test (ptr null , metadata !"_ZTSSt9exception" )
31- tail call void @llvm.assume (i1 %1 )
32- %2 = getelementptr i8 , ptr null , i64 16
33- %3 = load ptr , ptr %2 , align 8
34- %4 = tail call ptr %3 (ptr null )
35- ret i64 0
29+ define ptr @_Z4testPSt9exception () {
30+ %1 = load ptr , ptr null , align 8
31+ %2 = call i1 @llvm.type.test (ptr %1 , metadata !"_ZTSSt9exception" )
32+ tail call void @llvm.assume (i1 %2 )
33+ %3 = getelementptr i8 , ptr %1 , i64 16
34+ %4 = load ptr , ptr %3 , align 8
35+ %5 = tail call ptr %4 (ptr null )
36+ ret ptr %5
3637}
3738
3839; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
You can’t perform that action at this time.
0 commit comments