diff options
Diffstat (limited to 'test/CodeGen/X86/stack-protector-weight.ll')
| -rw-r--r-- | test/CodeGen/X86/stack-protector-weight.ll | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/test/CodeGen/X86/stack-protector-weight.ll b/test/CodeGen/X86/stack-protector-weight.ll index d5a65ffb890be..e8a4746bb648a 100644 --- a/test/CodeGen/X86/stack-protector-weight.ll +++ b/test/CodeGen/X86/stack-protector-weight.ll @@ -4,28 +4,29 @@ ; RUN: llc -mtriple=i386-pc-windows-msvc -print-machineinstrs=expand-isel-pseudos -enable-selectiondag-sp=false %s -o /dev/null 2>&1 | FileCheck %s -check-prefix=MSVC-IR ; DARWIN-SELDAG: # Machine code for function test_branch_weights: -; DARWIN-SELDAG: Successors according to CFG: BB#[[SUCCESS:[0-9]+]]({{[0-9a-fx/= ]+}}100.00%) BB#[[FAILURE:[0-9]+]] -; DARWIN-SELDAG: BB#[[FAILURE]]: -; DARWIN-SELDAG: CALL64pcrel32 <es:__stack_chk_fail> -; DARWIN-SELDAG: BB#[[SUCCESS]]: +; DARWIN-SELDAG: Successors according to CFG: %bb.[[SUCCESS:[0-9]+]]({{[0-9a-fx/= ]+}}100.00%) %bb.[[FAILURE:[0-9]+]] +; DARWIN-SELDAG: %bb.[[FAILURE]]: +; DARWIN-SELDAG: CALL64pcrel32 $__stack_chk_fail +; DARWIN-SELDAG: %bb.[[SUCCESS]]: ; DARWIN-IR: # Machine code for function test_branch_weights: -; DARWIN-IR: Successors according to CFG: BB#[[SUCCESS:[0-9]+]]({{[0-9a-fx/= ]+}}100.00%) BB#[[FAILURE:[0-9]+]] -; DARWIN-IR: BB#[[SUCCESS]]: -; DARWIN-IR: BB#[[FAILURE]]: -; DARWIN-IR: CALL64pcrel32 <ga:@__stack_chk_fail> +; DARWIN-IR: Successors according to CFG: %bb.[[SUCCESS:[0-9]+]]({{[0-9a-fx/= ]+}}100.00%) %bb.[[FAILURE:[0-9]+]] +; DARWIN-IR: %bb.[[SUCCESS]]: +; DARWIN-IR: %bb.[[FAILURE]]: +; DARWIN-IR: CALL64pcrel32 @__stack_chk_fail ; MSVC-SELDAG: # Machine code for function test_branch_weights: ; MSVC-SELDAG: mem:Volatile LD4[@__security_cookie] ; MSVC-SELDAG: ST4[FixedStack0] ; MSVC-SELDAG: LD4[FixedStack0] -; MSVC-SELDAG: CALLpcrel32 <ga:@__security_check_cookie> +; MSVC-SELDAG: CALLpcrel32 @__security_check_cookie +; MSVC always uses selection DAG now. ; MSVC-IR: # Machine code for function test_branch_weights: ; MSVC-IR: mem:Volatile LD4[@__security_cookie] ; MSVC-IR: ST4[FixedStack0] -; MSVC-IR: LD4[%StackGuardSlot] -; MSVC-IR: CALLpcrel32 <ga:@__security_check_cookie> +; MSVC-IR: LD4[FixedStack0] +; MSVC-IR: CALLpcrel32 @__security_check_cookie define i32 @test_branch_weights(i32 %n) #0 { entry: |
