diff options
Diffstat (limited to 'ptx/src/pass/normalize_predicates2.rs')
-rw-r--r-- | ptx/src/pass/normalize_predicates2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ptx/src/pass/normalize_predicates2.rs b/ptx/src/pass/normalize_predicates2.rs index 2d15bba..d91e23c 100644 --- a/ptx/src/pass/normalize_predicates2.rs +++ b/ptx/src/pass/normalize_predicates2.rs @@ -55,8 +55,8 @@ fn run_statement<'input>( Statement::Variable(var) => result.push(Statement::Variable(var)),
Statement::Instruction((predicate, instruction)) => {
if let Some(pred) = predicate {
- let if_true = resolver.register_intermediate(None);
- let if_false = resolver.register_intermediate(None);
+ let if_true = resolver.register_unnamed(None);
+ let if_false = resolver.register_unnamed(None);
let folded_bra = match &instruction {
ast::Instruction::Bra { arguments, .. } => Some(arguments.src),
_ => None,
|