[llvm] r330715 - [X86] Fix missing cfi from sitofp checks

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 24 06:24:56 PDT 2018


Author: rksimon
Date: Tue Apr 24 06:24:56 2018
New Revision: 330715

URL: http://llvm.org/viewvc/llvm-project?rev=330715&view=rev
Log:
[X86] Fix missing cfi from sitofp checks

Modified:
    llvm/trunk/test/CodeGen/X86/sitofp.ll

Modified: llvm/trunk/test/CodeGen/X86/sitofp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/sitofp.ll?rev=330715&r1=330714&r2=330715&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/sitofp.ll (original)
+++ llvm/trunk/test/CodeGen/X86/sitofp.ll Tue Apr 24 06:24:56 2018
@@ -1,7 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s | FileCheck %s
-
-target triple = "i386-unknown-linux-gnu"
+; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s
 
 define double @foo(i16 %a) #0 {
 ; CHECK-LABEL: foo:
@@ -12,6 +10,7 @@ define double @foo(i16 %a) #0 {
 ; CHECK-NEXT:    movl %eax, (%esp)
 ; CHECK-NEXT:    calll __floatsidf
 ; CHECK-NEXT:    addl $12, %esp
+; CHECK-NEXT:    .cfi_def_cfa_offset 4
 ; CHECK-NEXT:    retl
   %conv = zext i16 %a to i32
   %conv1 = sitofp i32 %conv to double




More information about the llvm-commits mailing list