lp:~vcs-imports/llvm/llvm-gcc-4.2-trunk

Created by Jelmer Vernooij on 2011-06-07 and last modified on 2012-09-27
Get this branch:
bzr branch lp:~vcs-imports/llvm/llvm-gcc-4.2-trunk

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
LLVM
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the Subversion branch from http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk.

The next import is scheduled to run in 8 minutes.

Last successful import was 5 hours ago.

Import started 5 hours ago on alnitak and finished 5 hours ago taking 2 minutes — see the log
Import started 12 hours ago on alnitak and finished 12 hours ago taking 2 minutes — see the log
Import started 19 hours ago on alnitak and finished 19 hours ago taking 2 minutes — see the log
Import started on 2019-08-19 on alnitak and finished on 2019-08-19 taking 2 minutes — see the log
Import started on 2019-08-19 on alnitak and finished on 2019-08-19 taking 2 minutes — see the log
Import started on 2019-08-18 on alnitak and finished on 2019-08-18 taking 2 minutes — see the log
Import started on 2019-08-18 on alnitak and finished on 2019-08-18 taking 2 minutes — see the log
Import started on 2019-08-18 on alnitak and finished on 2019-08-18 taking 2 minutes — see the log
Import started on 2019-08-18 on alnitak and finished on 2019-08-18 taking 2 minutes — see the log
Import started on 2019-08-17 on alnitak and finished on 2019-08-17 taking 2 minutes — see the log

Recent revisions

2831. By void on 2012-09-27

Convert to the new attribute query format.

2830. By void on 2012-02-17

The 0x10 flag wasn't used so it's no longer being set. Don't test for it here.

2829. By dyatkovskiy on 2012-02-01

Compatability fix for SwitchInst refactoring.

The purpose of refactoring is to hide operand roles from SwitchInst user (programmer). If you want to play with operands directly, probably you will need lower level methods than SwitchInst ones (TerminatorInst or may be User). After this patch we can reorganize SwitchInst operands and successors as we want.

What was done:

1. Changed semantics of index inside the getCaseValue method:
getCaseValue(0) means "get first case", not a condition. Use getCondition() if you want to resolve the condition. I propose don't mix SwitchInst case indexing with low level indexing (TI successors indexing, User's operands indexing), since it may be dangerous.
2. By the same reason findCaseValue(ConstantInt*) returns actual number of case value. 0 means first case, not default. If there is no case with given value, ErrorIndex will returned.
3. Added getCaseSuccessor method. I propose to avoid usage of TerminatorInst::getSuccessor if you want to resolve case successor BB. Use getCaseSuccessor instead, since internal SwitchInst organization of operands/successors is hidden and may be changed in any moment.
4. Added resolveSuccessorIndex and resolveCaseIndex. The main purpose of these methods is to see how case successors are really mapped in TerminatorInst.
4.1 "resolveSuccessorIndex" was created if you need to level down from SwitchInst to TerminatorInst. It returns TerminatorInst's successor index for given case successor.
4.2 "resolveCaseIndex" converts low level successors index to case index that curresponds to the given successor.

Note: There are also related compatability fix patches for dragonegg, klee, llvm-gcc-4.0, llvm-gcc-4.2, safecode, clang.

2828. By d0k on 2012-01-20

Fix the dead compiler once more.

2827. By bwilson on 2011-12-31

Stop including the default arm slice in libgcc_s.1.dylib.
This is redundant as of svn r145650, which makes the default be armv7, since
there is already an explicit armv7 multilib.

2826. By venkatra on 2011-12-25

Call LLVM_SET_TARGET_MACHINE_OPTIONS() only if it is defined.

2825. By bwilson on 2011-12-22

Don't install symlinks in /usr/bin if not installing into /Developer.
<rdar://problem/10359031>

2824. By bwilson on 2011-12-22

Use xcrun to find clang, instead of hardcoded /Developer/usr/bin path.

2823. By bwilson on 2011-12-22

Don't hardcode the /Developer path when installing man pages. <rdar://10359031>

2822. By bwilson on 2011-12-14

Fix llvm-gcc to match llvm svn r146522.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.