Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PPC] Getindex on Atomic{Float64} or Atomic{Float32} #32153

Open
vchuravy opened this issue May 27, 2019 · 1 comment
Open

[PPC] Getindex on Atomic{Float64} or Atomic{Float32} #32153

vchuravy opened this issue May 27, 2019 · 1 comment
Labels
system:powerpc PowerPC upstream The issue is with an upstream dependency, e.g. LLVM

Comments

@vchuravy
Copy link
Member

From worker 85: running testset threads...

      From worker 85:   LLVM ERROR: Cannot select: 0x2379e990: i64 = any_extend 0x2379ef40
      From worker 85:     0x2379ef40: f32 = bitcast 0x237a3290
      From worker 85:       0x237a3290: i32,ch = AtomicLoad<Volatile LD4[%3](align=16)> 0x231772e0, 0x23452470
      From worker 85:         0x23452470: i64,ch = CopyFromReg 0x231772e0, Register:i64 %0
      From worker 85:           0x2379a338: i64 = Register %0
      From worker 85:   In function: julia_getindex_16213
@vchuravy vchuravy added the system:powerpc PowerPC label May 27, 2019
@vchuravy vchuravy changed the title [PPC] Cannot select extend of bitcast [PPC] Getindex on Atomic{Float64} or Atomic{Float32} Apr 14, 2020
@vchuravy
Copy link
Member Author

[vchuravy@service0001 julia]$ cat bugpoint-reduced-simplified.ll
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "getindex"
target datalayout = "e-m:e-i64:64-n32:64-ni:10:11:12:13"
target triple = "powerpc64le-unknown-linux-gnu"

define void @julia_getindex_185() {
top:
  %rv.i = load atomic double, double* undef acquire, align 16
  ret void
}

!llvm.module.flags = !{!0}

!0 = !{i32 1, !"Debug Info Version", i32 3}

Fails with:

[vchuravy@service0001 julia]$ usr/tools/llc --code-model=large --relocation-model=static -filetype=obj bugpoint-reduced-simplified.ll 
Intrinsic has incorrect argument type!
void (double)* @llvm.ppc.cfence.f64
in function julia_getindex_185
LLVM ERROR: Broken function found, compilation aborted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:powerpc PowerPC upstream The issue is with an upstream dependency, e.g. LLVM
Projects
None yet
Development

No branches or pull requests

1 participant