diff options
author | aartbik <ajcbik@google.com> | 2020-06-18 10:48:56 -0700 |
---|---|---|
committer | aartbik <ajcbik@google.com> | 2020-06-18 11:07:43 -0700 |
commit | c9eeeb38719fd40d0ecdf2842aaace1dd7c5b5e8 (patch) | |
tree | 0059a0e8133366eb275bd1f0bd02de137fd4f837 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | d96aac435423b550840afae79315bda98953214e (diff) | |
download | llvm-c9eeeb38719fd40d0ecdf2842aaace1dd7c5b5e8.zip llvm-c9eeeb38719fd40d0ecdf2842aaace1dd7c5b5e8.tar.gz llvm-c9eeeb38719fd40d0ecdf2842aaace1dd7c5b5e8.tar.bz2 |
[mlir] [VectorOps] remove print_i1 from runtime support library
Summary:
The "i1" (viz. bool) type does not have a proper equivalent on the "C"
size. So, to avoid any ABIs issues, we simply use print_i32 on an i32
value of one or zero for true and false. This has the added advantage
that one less function needs to be implemented when porting the runtime
support library.
Reviewers: ftynse, bkramer, nicolasvasilache
Reviewed By: ftynse
Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, msifontes
Tags: #mlir
Differential Revision: https://reviews.llvm.org/D82048
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions