HomePhabricator

[InstCombine] use redirect of input file in regression tests; NFC

Authored by spatel on Sep 29 2020, 8:02 AM.

Description

[InstCombine] use redirect of input file in regression tests; NFC

This is a repeat of 1880092722 from 2009. We should have less risk
of hitting bugs at this point because we auto-generate positive CHECK
lines only, but this makes things consistent.

Copying the original commit msg:
"Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename."

Details

Committed
spatelSep 29 2020, 8:06 AM
Parents
rG51323fe2b89e: [mlir][openacc] Add init operation
Branches
Unknown
Tags
Unknown