mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-15 01:46:46 +00:00

We already output true and false in the printer, but the parser isn't able to read it. Differential Revision: https://reviews.llvm.org/D47424 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333970 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
289 B
YAML
12 lines
289 B
YAML
# RUN: llc -run-pass none -o - %s | FileCheck %s
|
|
# Parse an i1 being a 'true' or 'false'
|
|
---
|
|
name: i1_true_false
|
|
body: |
|
|
bb.0:
|
|
; CHECK: %0:_(s1) = G_CONSTANT i1 true
|
|
; CHECK: %1:_(s1) = G_CONSTANT i1 false
|
|
%0:_(s1) = G_CONSTANT i1 true
|
|
%1:_(s1) = G_CONSTANT i1 false
|
|
...
|