commit | f2e2980c8937d67a0363c8e21bf1e448528ef4a0 | [log] [tgz] |
---|---|---|
author | Alex Zinenko <zinenko@google.com> | Sun Jan 06 14:09:00 2019 -0800 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 14:59:07 2019 -0700 |
tree | 277c52c9d319976431b9e1b09049e2cfcf4ada3e | |
parent | 82de9e0ccfcb0c7280af5a5817c07efd3f238e30 [diff] |
LLVM IR lowering: support integer division and remainder operations These operations trivially map to LLVM IR counterparts for operands of scalar and (one-dimensional) vector type. Multi-dimensional vector and tensor type operands would fail type conversion before the operation conversion takes place. Add tests for scalar and vector cases. Also add a test for vector `select` instruction for consistency with other tests. PiperOrigin-RevId: 228077564