Skip to content

Commit 83dc7d1

Browse files
committed
Fix for removal of raw_bitcast
1 parent ae98a2f commit 83dc7d1

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

Cargo.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/value_and_place.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,7 @@ impl<'tcx> CPlace<'tcx> {
515515
| (types::F32, types::I32)
516516
| (types::I64, types::F64)
517517
| (types::F64, types::I64) => fx.bcx.ins().bitcast(dst_ty, data),
518-
_ if src_ty.is_vector() && dst_ty.is_vector() => {
519-
fx.bcx.ins().raw_bitcast(dst_ty, data)
520-
}
518+
_ if src_ty.is_vector() && dst_ty.is_vector() => fx.bcx.ins().bitcast(dst_ty, data),
521519
_ if src_ty.is_vector() || dst_ty.is_vector() => {
522520
// FIXME do something more efficient for transmutes between vectors and integers.
523521
let stack_slot = fx.bcx.create_sized_stack_slot(StackSlotData {

0 commit comments

Comments
 (0)