This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
f8dc015bd1
llvm-project
/
llvm
/
test
/
CodeGen
/
PowerPC
/
2005-01-14-UndefLong.ll
6 lines
101 B
LLVM
Raw
Normal View
History
Unescape
Escape
PowerPC: Do not use llc -march in tests. `llc -march` is problematic because it only switches the target architecture, but leaves the operating system unchanged. This occasionally leads to indeterministic tests because the OS from LLVM_DEFAULT_TARGET_TRIPLE is used. However we can simply always use `llc -mtriple` instead. This changes all the tests to do this to avoid people using -march when they copy and paste parts of tests. This patch: - Removes -march if the .ll file already has a matching `target triple` directive or -mtriple argument. - In all other cases changes -march=ppc32/-march=ppc64 to -mtriple=ppc32--/-mtriple=ppc64-- See also the discussion in https://reviews.llvm.org/D35287 llvm-svn: 309754
2017-08-02 06:20:41 +08:00
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
New testcase, problem found by Rob. llvm-svn: 19556
2005-01-15 04:21:51 +08:00
Byebye llvm-upgrade! llvm-svn: 48762
2008-03-25 12:26:08 +08:00
define
i64
@test
(
)
{
ret
i64
undef
}