Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/MIR/X86/zero-probability.mir @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/CodeGen/MIR/X86/zero-probability.mir Wed Aug 14 16:55:33 2019 +0900 @@ -0,0 +1,14 @@ +# RUN: llc -run-pass=none -o /dev/null %s +# REQUIRES: asserts +# REQUIRES: default_triple +# Makes sure that having a probability of 0x00000000 to branch to a successor +# doesn't hit an APInt assert in the MIParser. + +--- +name: main +body: | + bb.0: + successors: %bb.1(0x00000000) + bb.1: + +...