Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/regpressure.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | afa8332a0e37 |
children |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
1 ; REQUIRES: asserts | 1 ; REQUIRES: asserts |
2 ;; Both functions in this testcase should codegen to the same function, and | 2 ;; Both functions in this testcase should codegen to the same function, and |
3 ;; neither of them should require spilling anything to the stack. | 3 ;; neither of them should require spilling anything to the stack. |
4 | 4 |
5 ; RUN: llc < %s -march=x86 -stats 2>&1 | \ | 5 ; RUN: llc < %s -mtriple=i686-- -stats 2>&1 | \ |
6 ; RUN: not grep "Number of register spills" | 6 ; RUN: not grep "Number of register spills" |
7 | 7 |
8 ;; This can be compiled to use three registers if the loads are not | 8 ;; This can be compiled to use three registers if the loads are not |
9 ;; folded into the multiplies, 2 registers otherwise. | 9 ;; folded into the multiplies, 2 registers otherwise. |
10 | 10 |