Skip to content

Commit

Permalink
Apply TBAA to the correct instruction.
Browse files Browse the repository at this point in the history
Another instance of the bug in PR #933.
  • Loading branch information
nlewycky committed Nov 7, 2019
1 parent 374fd5b commit dccaa3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/llvm-backend/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ impl<'a> CtxType<'a> {
module.clone(),
intrinsics,
"global_ptr",
globals_array_ptr_ptr.as_instruction_value().unwrap(),
global_ptr.as_instruction_value().unwrap(),
Some(index as u32),
);

Expand Down

0 comments on commit dccaa3a

Please sign in to comment.