Compiler projects using llvm
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -S -globalopt < %s | FileCheck %s

@m64 = internal global <1 x i64> zeroinitializer

define i32 @load_mmx() {
; CHECK-LABEL: @load_mmx(
; CHECK-NEXT:    ret i32 0
;
  %temp = load x86_mmx, x86_mmx* bitcast (<1 x i64>* @m64 to x86_mmx*)
  ret i32 0
}