Skip to content

Commit 6a800f6

Browse files
committed
Add a triple to test/ExecutionEngine/MCJIT/cet-code-model-lager.ll
It was failing in 32-bit Windows builds with: $ ":" "RUN: at line 1" $ "c:\src\llvm_package_944db8a4\build32_stage0\bin\lli.exe" "-mtriple=i686-pc-windows-msvc-elf" "-code-model=large" "C:\src\llvm_package_944db8a4\llvm-project\llvm\test\ExecutionEngine\MCJIT\cet-code-model-lager.ll" # command stderr: Assertion failed: Is64Bit && "Large code model is only legal in 64-bit mode.", file C:\src\llvm_package_944db8a4\llvm-project\llvm\lib\Target\X86\X86ISelLowering.cpp, line 4212 Let's see if this helps.
1 parent 5d7e9ad commit 6a800f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/ExecutionEngine/MCJIT/cet-code-model-lager.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: %lli -code-model=large %s > /dev/null
1+
; RUN: %lli -mtriple=x86_64-unknown-unknown -code-model=large %s > /dev/null
22

33
@a = dso_local local_unnamed_addr global i32 1, align 4
44

0 commit comments

Comments
 (0)