Skip to content

Commit

Permalink
Merge #935
Browse files Browse the repository at this point in the history
935: Apply TBAA to the correct instruction. r=nlewycky a=nlewycky

Another instance of the bug in PR #933.


Co-authored-by: Nick Lewycky <[email protected]>
  • Loading branch information
bors[bot] and nlewycky authored Nov 7, 2019
2 parents 374fd5b + dccaa3a commit 38f4fdb
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 38f4fdb

Please sign in to comment.