[CODEGEN] Fixed bug that caused conditional operator to not always

properly mask load operations

Also includes minor improvement to benchmarking infrastructure
This commit is contained in:
Philippe Tillet
2021-03-07 14:53:48 -05:00
parent dfa0d45ffe
commit 061ef3920e
9 changed files with 146 additions and 64 deletions

View File

@@ -156,6 +156,7 @@ std::tuple<std::shared_ptr<driver::module>,
layouts.run(ir);
peephole.run(ir);
dce.run(ir);
// ir::print(ir, std::cout);
if(target->is_gpu())
cts.run(ir);
align.run(ir);