Mercurial > hg > CbC > CbC_llvm
view test/Linker/Inputs/thumb.ll @ 146:3fc4d5c3e21e
set tail call flag for code segment in CGCAll
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:23:36 +0900 |
parents | 803732b1fca8 |
children |
line wrap: on
line source
target triple = "thumbv7-linux-gnueabihf" define i32 @foo(i32 %a, i32 %b) #0 { entry: %add = add i32 %a, %b ret i32 %add } define i32 @bar(i32 %a, i32 %b) #1 { entry: %add = add i32 %a, %b ret i32 %add } attributes #0 = { "target-features"="-thumb-mode" } attributes #1 = { "target-features"="+thumb-mode" }